View Full Version: 404 - I Am Sure It's Me

DimensioneX Forum > Installation Problems > 404 - I Am Sure It's Me



Title: 404 - I Am Sure It's Me


Sardine - October 23, 2006 08:41 PM (GMT)
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


Cris - October 24, 2006 10:42 AM (GMT)
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.



Sardine - October 24, 2006 03:41 PM (GMT)
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

call - October 24, 2006 03:48 PM (GMT)
My game also occured the HTTP Status 404 error when installing the new engine of Dimx 6.22.

Sardine - October 24, 2006 03:57 PM (GMT)
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

Cris - October 25, 2006 08:17 AM (GMT)
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.





Hosted for free by InvisionFree