DimensioneX Home  Forum


  Add ReplyNew Topic

 404 - I Am Sure It's Me
Sardine
Posted: Oct 23 2006, 08:41 PM


Newbie


Group: Members
Posts: 3
Member No.: 301
Joined: 23-October 06



The DimensionX is loaded into Apache Tomcat. Judging by the Tutorial the folders are all correct but on testing reaching the Beach and the Tut Bungalow I get a 404 error. I checked the tomcat XML files which are .XML marked. The beach and other samples work fine frmo your site.

All the software is the latest and I'm running XP. No doubt I've messed up somewhere already. I uninstalled Tomcat and all it's associate programs the first time, and reloaded, but the problems remain the same.

I was asked by the firewall program if to permit access, to which I responded yes this time (but not always).

Thanks

Top
Cris
  Posted: Oct 24 2006, 10:42 AM


DimX Guru


Group: Admin
Posts: 3,858
Member No.: 3
Joined: 17-May 04



Most likely the problem is simple to solve.

Some hints:

a. It is crucial to know the URL that correspond to 404 - not found and how you got to it. Since you used your own installation, get the debug1.log file you find in the dimx/WEB-INF/system folder. Post it here as an attachment, we may find what the problem is.

b. Check also the versions of Java and Tomcat

Java should be 1.5 or the like (command prompt type java -version to check)

Tomcat should be 5.5 or the like (open http://localhost:8080/ to check)


Different combinations could need special configuration, but it shouldn't be difficult.




--------------------
user posted image
user posted image
Top
Sardine
Posted: Oct 24 2006, 03:41 PM


Newbie


Group: Members
Posts: 3
Member No.: 301
Joined: 23-October 06



QUOTE (Cris @ Oct 24 2006, 10:42 AM)
Most likely the problem is simple to solve.

Some hints:

a. It is crucial to know the URL that correspond to 404 - not found and how you got to it. Since you used your own installation, get the debug1.log file you find in the dimx/WEB-INF/system folder. Post it here as an attachment, we may find what the problem is.

b. Check also the versions of Java and Tomcat

Java should be 1.5 or the like (command prompt type java -version to check)

Tomcat should be 5.5 or the like (open http://localhost:8080/ to check)


Different combinations could need special configuration, but it shouldn't be difficult.

Hello Cris

Thanks for the response. I can't find any debug file at all; I also did a search for the file name you asked after which turned up nil. CLosest I can find is Testrug1 javascript:emoticon(':(')
smilie


As I say, 404 occurred when trying both the demo Beach and the frst step in the tutorial.

Java is Java 2 SDK, SE v1.4.2_05

Tomcat is 5.0.28 which according to the test to enter their web to confirm successful installation is working.

Ok now I have found Tomcat 5.5 (your sitelink seems to be out of date javascript:emoticon('B)')
smilie

This is the error I get from typing the addess on the URL, but I shall reboot now to test it. I don't want to write this all gain if it doesn't work ~ so maybe with a reboot all will be working. I'll post a reply whatever.

HTTP Status 404 - /dimx/servlet/multiplayer

type Status report

message /dimx/servlet/multiplayer

description The requested resource (/dimx/servlet/multiplayer) is not available.
Apache Tomcat/5.5.20
Top
call
Posted: Oct 24 2006, 03:48 PM


Member


Group: Members
Posts: 33
Member No.: 38
Joined: 28-December 04



My game also occured the HTTP Status 404 error when installing the new engine of Dimx 6.22.
Top
Sardine
Posted: Oct 24 2006, 03:57 PM


Newbie


Group: Members
Posts: 3
Member No.: 301
Joined: 23-October 06



ok I rebooted and instead of getting a 404 error I now have

Firefox can't establish a connection to the server at localhost:8080.

Not sure what gives here. Java is set to port 8080 I don't use a firewall and haven't been asked for any permissions.

Thanks
Top
Cris
  Posted: Oct 25 2006, 08:17 AM


DimX Guru


Group: Admin
Posts: 3,858
Member No.: 3
Joined: 17-May 04



The combination:

Java 1.4.2 + Tomcat 5.0

is perfectly OK and tested many, many times.

If Tomcat 5.0 starts, you must have simply unpacked the dimx package in the wrong place, or forgot to preserve the folder structure while unpacking the ZIP.

I'd have stopped there and tried to look closer at the URL you typed, things like that.

Normally after seeing that Tomcat runs, you simply add /dimx/ to the base URL to obtain:

http://localhost:8080/dimx/

this would bring up the dimensionex main page / menu with links to all games. They are supposed to work right out of the box. If not, you have to check where the multiplayer.class file is located, exactly, on your PC, and report this information.
I think this will be enough to solve it.



If you try Tomcat 5.5, this one is not designed to run on Java 1.4.2 so you also have to upgrade java to 1.5 (also said, on the java site, Java2 ver. 5.0, they seem liking to confuse people)

So I actually recommend you to simply uninstall tomcat 5.5, revert to tomcat 5.0.28 and try to diagnose where the problem was exactly - it doesn't have to be difficult.



--------------------
user posted image
user posted image
Top
hyperboy124
Posted: Nov 3 2008, 03:17 PM


Newbie


Group: Members
Posts: 3
Member No.: 1,348
Joined: 31-October 08



well here in lies my problem the entire folder "/servlet/" is missing in mine i've double checked the zip file i downloaded from sourceforge and it wasn't in there so is it possible someone could upload a copy of that folder as an attachment so that my same 404 issue can be fixed?
Top
Cris
  Posted: Nov 3 2008, 03:44 PM


DimX Guru


Group: Admin
Posts: 3,858
Member No.: 3
Joined: 17-May 04



QUOTE (hyperboy124 @ Nov 3 2008, 04:17 PM)
well here in lies my problem the entire folder "/servlet/" is missing in mine i've double checked the zip file i downloaded from sourceforge and it wasn't in there so is it possible someone could upload a copy of that folder as an attachment so that my same 404 issue can be fixed?

Hello,
the /servlet/ folder actually is not supposed to be there.

By reading "servlet" the computer knows you want to call up a class, so checks in the

classes

folder for the specified class.

The problem may be,

"multiplayer"

is actually a short name for

cleoni.adv.multiplayer

and this mapping is defined in a file named web.xml which is server specific! In other words, it may work fine in Tomcat 5.5 but it won't on, say, Tomcat 4.1!

So let us know which type/version of java server you are running.

Also, look at the end of the main page in

/dimx/

there should be an URL which does not use the alias (e.g. uses cleoni.adv.multiplayer - this should work)



--------------------
user posted image
user posted image
Top
hyperboy124
Posted: Nov 3 2008, 03:59 PM


Newbie


Group: Members
Posts: 3
Member No.: 1,348
Joined: 31-October 08



well the thing is i have no clue what server i'm running due to the fact i'm on linux and didn't want to go through the trouble of installing tomcat and figureing out where to find the java i'm running so since a friend had offered me hosting on a service he was paying for i figured since they were running java fine it should work there so i uploaded and installed it there so that could be a definate problem with installing the game seeing as i wouldn't know what server xml file would need be used to get the right effect any help or should i get up off my lazy bumm and install tomcat ?

Edit :
the alternate mapping thing at the bottom doesn't work either
Top
Cris
  Posted: Nov 3 2008, 06:40 PM


DimX Guru


Group: Admin
Posts: 3,858
Member No.: 3
Joined: 17-May 04



I am afraid that your linux hosting is a standard & plain Apache server.

If you post or send me the URL I can look at it for some clues. Most servers place in the footer the type/version and there are also other ways to detect this info.

If you are under Apache, it is not sufficient to run DimensioneX. But let's see.

Send me or post the URL then!


--------------------
user posted image
user posted image
Top
hyperboy124
Posted: Nov 4 2008, 04:13 AM


Newbie


Group: Members
Posts: 3
Member No.: 1,348
Joined: 31-October 08



http://www.socialfandomnetwork.com/sephiroth/dimx/index.html is the url have at it however i know theres a way i can install the tomcat source it would install in a way i've never really done before ( compile the source into an installer and then run it from the terminal is something i'm still working on ) and my apache host isn't on my computer however it is a unix host that we're (me and my friend ) on .... i think

edit :
is it possible to run dimx under glassfish or java 6 plus tomcat version 5.5.27 ?
edit :
sorry bout the link my host decided to screw with some stuff and the link became inoperable its fixed now tho
Top
Cris
  Posted: Jan 7 2009, 01:43 PM


DimX Guru


Group: Admin
Posts: 3,858
Member No.: 3
Joined: 17-May 04



Hi there,
there seems to be a problem.

Let's get in touch via MSN or Skype and let's fix it.

could you send me your contact by using a Private Message here?


--------------------
user posted image
user posted image
Top


Topic Options Add ReplyNew Topic



Hosted for free by InvisionFree (Terms of Use: Updated 7/7/05) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Archive
Custom Search