Help needed please.. I have gone through entire forum, before I am posting. It seems this is a perennial problem, with no concrete solution in sight. It is very ironic and funny that I have encountered the same problem as that of Mr. Niyas Sheikh. I have exactly the same configuration and have the exactly same software installed on my m/c. To add to the fun part even my os is the same i.e. Windows 98 SE.
Let me explain to you my problem a little more precisely.
Today I downloaded jakarta-tomcat 5.5.9 exe on my m/c. When I tried to install the software I got an error which said:
"Failed to install Tomcat5 Service. Check your settings and permissions Ignore and continue anyway (not recommended)".
When I clicked on the show detail button when the installation was in progress, these are the final couple of line which got executed before the above said error got printed:
P3 550 192MB Ram OS: Windows 98 SE My Tomcat is in: C:\Program Files\Apache Software Foundation\Tomcat5.5 My JDK1.5 is in: C:\Program Files\Java\Jdk1.5 I am working on standalone and not on a network.
I have also increased Initial environment variable from Dos-Prompt from Auto to 4096, but to no avail. I have also downloaded jakarta-tomcat 5.5.9.zip and tried to use this one too. I even set the environment variable JAVA_HOME to point to my JRE,but still no success. When I tried starting tomcat from \bin startup.bat, it said C
So the bottom line is I still have to run my servlet.
What I can make of the issue is that, there is a clash between Win98Se, jdk1.5.0_02 and tomcat 5.5.9.
When I tried starting tomcat from \bin startup.bat, it said C
Surely something is missing from that text. You may have to modify startup.bat to see what is going on in detail - I like to comment out the @echo off line and change the final executable line to read:
Note: thats "run" instead of "start" - this causes catalina.bat to continue in the same window instead of opening a new one that closes as soon as there is an error, taking important messages with it. Be sure to execute startup.bat from a Dos Prompt window, not by doubleclick. You will also have to modify the Dos Prompt window to keep MANY more lines of output. Bill
Joined: Jul 21, 2005
Finally I was able to install tomcat 5.5.9 on Win98Se, but not without my share of trouble and heartache.
After struggling on the matter for a couple of days, I think I can safely conclude that it is not possible to install tomcat 5.5.9 FROM THE EXECUTABLE FILE ON WINDOWS 98SE.The executable of tomcat 5.5.9, is not getting installed on my machine in the first place, and keeps giving an error, which i have mentioned in my first post. So the question of checking enviro varibles and other troubleshooting does not arise.
i could install the zip version and everything went nearly smoothly. I had only one trouble. It is said that the environment varible Catalina_Home is optional, but I found that the variable is mandatory. Without this variable i could not get my tomcat started. The startup.bat(which I had run from dos-prompt) said that Catalina_Home is a mandatory varible and it need to mentioned in the autoexec.bat file. After i did this, the tomcat started working fine.
So if I could generalize the matter. I think there is a definate clash btw the executable file of tomcat and win98se, so instead try installing the zip version.
This is for Niyas Ahmed Sheikh Go to the following Url which I have given below after downloading the zip version of tomcat 5.5.9 and you should be able to install the tomcat.