View Full Version: Installation confirmation test failed why?

DimensioneX Forum > Installation Problems > Installation confirmation test failed why?



Title: Installation confirmation test failed why?
Description: Dimx games won't run


PeonExtrodinare - March 23, 2005 05:44 PM (GMT)
I installed 1.4.2_05 Java. I installed Tomcat 4.1.31. I got the Tomcat welcome page. I installed the dimx files with file structure preserved into the correct directory.

But when I try http://localhost:8080/dimx, I get the following message:
"The requested resource (/dimx) is not available."

What's wrong?

Also, I tried to run Tomcat v5.5.7, but couldn't get it to pull up a welcome page, so I uninstalled it. Since I'm asking questions anyway, what did I do wrong there?

Cris - March 24, 2005 08:40 AM (GMT)
Hi,
just verify that you have a folder:

C:\tomcat\webapps\dimx

with these things inside:

- 2 gif files
- 1 html file
- three folders: pics, skins and WEB-INF

If it is like this, it should work fine.

Please keep Tomcat 4 because it is DimensioneX default. Please also verify that you have not altered the names or the content of the XML files inside WEB-INF folder. They are critical to DimensioneX.

Don't worry, the problem you have experienced is quite likely because of some detail that seemed to have little importance.

PeonExtrodinare - March 24, 2005 04:53 PM (GMT)
I did a "full with source code" install of tomcat

Here is a copy of the directory structure.
C:\
**|-Development
*******|-Tomcat
**********|-(other folders)
**********|-webapp
**************|-(other folders)
**************|-dimx
*****************|-pics
*****************|-skins
********************|-castle
********************|-default
********************|-forst
*****************|-WEB-INF
********************|-system
********************|-classes
************************|-cleoni
***************************|-adv

Sorry for all the asterics, but this forum hacked out all of my spaces.

This is the third time I've uninstalled-reinstalled all of this. I've even tried to install Tomcat so that it's root folder is "Tomcat" instead of the default "Tomcat 4.1". I can always get either the Tomcat homepage, or that error that says tomcat is running but JRE is messing with it.

What is wrong? I'm on XP Home SP2. What else can I try to get this to work?

Cris - March 25, 2005 08:54 AM (GMT)
Hi,
Ok first, if the folder is actually called "webapp" instead of "webapps" it will never work.

Apart from this (surely there was a typo in your post) everything should work fine, provided that
1) tomcat correctly detects Java
2) It is actually Tomcat 4.1.31 or whatever Tomcat 4.1.x
3) you don't alter tomcat's folder names

However you have WinXP Home, the procedure we have on the Readme was tested on it and used by hundreds of users.
Please follow it by the letter, and in particular paya attention to these (in order of importance):

- Use the .exe installer (not the ZIP version) of Tomcat, that one should be able to detect where Java is, I have not tested other distributions sets.

- When installing, do specify C:\tomcat - try this first and only after you have seen that everything works including dimx, then you can try reinstalling tomcat elsewhere.

- Check carefully where your Java is, even though tomcat *should* detect it, there have been cases in which we had to set an environment variable JAVA_HOME to let tomcat know where Java was. If Tomcat does not detect java it will never work so you have to solve that (the Readme mentions this and explains how to fix it).
The value for JAVA_HOME for my installation is:

JAVA_HOME=C:\J2SE\bin

or

JAVA_HOME=C:\J2SE\JRE\bin

As you see, I preferred to change the default Java install path by using the custom setup because otherwise I hardly find where the installer puts it.

Believe me, if you follow directions of the README by the letter you will succeed.
If one of the steps turns out to fail, don't alter the instructions, stop there and report the problem so we can fix it together.

All the best,

PeonExtrodinare - March 25, 2005 02:44 PM (GMT)
Sharp eye. Yes, that was a typo on my part. The folder name is "webapps".

I didn't have a java_home environment variable set, but the tomcat installer has always been able to find the java compiler. I've added a java_home variable and reinstalled to see if this works, and it doesn't.

A few more questions:
Ever since my computer auto-upgraded java1.4.2 to java1.5.0, I've not been able to get the tomcat homepage to display. I've been ignoring it because I was getting that other jre error that the pdf file said was also good.

Out of irritation and frustration, I copied the dimx folder into the webapps\root folder. When I do the http://localhost:8080/dimx, something tries to load and then I get the following error, which is alot more that what I had been getting. "The requested resource (/dimx/servlet/WorldNavServlet) is not available."

Cris - March 26, 2005 08:38 AM (GMT)
Ok!, if by accessing

http://localhost:8080/dimx

you got the "loading" page, this means that Tomcat is working, so it has found Java and that's OK.

If you get "resource not available" it simply means that you simply have a mapping problem. In other words, the content of the WEB.XML that you find in

webapps/dimx/WEB-INF

is not good for your Tomcat.

A good way out is to try:

http://localhost:8080/dimx/servlet/cleoni....WorldNavServlet

this method doesn't use servlet mapping so it could work.

(The "mapping" is simply something that translates WorldNavServlet into its full name cleoni.adv.WorldNavServlet)

I know, this problem of mapping is a pain in the ass of Tomcat.

If you want to fix the mapping problem, you could also try using the other WEB.XML provided in the dimx package (same folder) you will notice I have put one for Tomcat 5, one for Tomcat 3.3, and another for Tomcat 4.0 (NetBeans)

You said you have Tomcat 4.1.31 so the normal web.xml should be fine.

I would be very grateful if you could upload somewhere and then send me the URL of the tomcat package you istalled, so that I can redo the installation on my PC and see what is wrong with that version.


PeonExtrodinare - March 26, 2005 09:33 PM (GMT)
I think we had a small miscommunication. I can get the loading page IF I copy the dimx folder into the WRONG location. And when I do put the dimx folder into the ROOT folder, the "loading" page isn't able to load anything.

I tried the 'long hand' version of the hyperlink and it didn't work either. It said (the hyperlink) is not available.

Were you asking if you could hit my tomcat server while it was up, or were you asking for the install files I'm using? Or was it both?

I have the jakarta-tomcat-4.1.31.exe file that I got from the DimX homepage downloads site. Same for the dimensionex553.zip file.

If you want me to send you the copies, I could just e-mail them to you if your ISP will allow it.

Cris - March 29, 2005 07:12 AM (GMT)
Hi Again,

Ok, if you have used the stuff downloaded from the dimx site then the versions are the right ones.

Please note, though, that placing the dimx folder into "webapps" is correct.

Although it might seem strange, you should never place it into the "ROOT" folder, this would be a mistake.

So let me summarise:

1) we have understood that, for some reason, your tomcat is not able to find the DimensioneX main servlet, which is

http://localhost:8080/dimx/servlet/cleoni....WorldNavServlet

which should be mapped to (synonym):

http://localhost:8080/dimx/servlet/WorldNavServlet

2) Tomcat must have found Java, because it seems to work (it loads the "loading" page) and probably it gives the welcome screen.

The above is very strange. The only thing I can think of is that you might have typed badly the URL in the address bar of the browser, but I'd bet you have been very careful, so probably this isn't the case.

I might only suppose this:

a) The new Java 1.5, that was installed via Java autoupdate is on your machine
B) for some reason Tomcat 4 is not fully compatible with Java 1.5
c) In this case, you might try uninstalling Tomcat 4, installing Tomcat 5, try the procedure described in

http://www.dimensionex.net/en/docs/art022.htm

to make the game engine run on it.

However I think that at this point you have decided to give it up. I understand you.
I am sorry but believe me, I have repeated the installation several times on several systems, and although on your PC it seems so hard, the game engine usually runs with no or little effort by simply following the instructions in the README.

Hope that some reader of this forum has had this problem before and has some advice... sorry again.







Hosted for free by InvisionFree