File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Unable to install Tomcat 5.5.9 on Win98SE, it seems a perennial problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to install Tomcat 5.5.9 on Win98SE, it seems a perennial problem." Watch "Unable to install Tomcat 5.5.9 on Win98SE, it seems a perennial problem." New topic
Author

Unable to install Tomcat 5.5.9 on Win98SE, it seems a perennial problem.

Adrian Perry
Ranch Hand

Joined: Jul 21, 2005
Posts: 42
Hello,

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:

"Using JVM: C:\Program Files\Java\jre\1.5.0_02\bin\client\jvm.dll
[2005-07-21 02:04:48][1190 prunserv.c][error]
Invalid command line arguments"

The details of my system are as follows:

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.

Any help on the matter will be appriciated.

Adrian.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Have you tried un-checking the "Install as a service" option during the install?

I don't think the concept of a Windows Service exists on Win98.
Windows services exist in NT, 2000 Server, and up.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129
Hi,

This is Niyas. I also encountered the same problem as you and I still couldn't get the answer. Definitely if anybody knows the answer, they will surely post. I think they don't know the problem.

B'coz of this, we can't stop learning. So I installed tomcat 4.1.13. It's installed successfully and I have to start work in JSP and Servlets.

Bye,
Niyas.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12787
    
    5
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
Adrian Perry
Ranch Hand

Joined: Jul 21, 2005
Posts: 42
Hello,

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.

http://www.coreservlets.com/Apache-Tomcat-Tutorial/

Goodluck,

Adrian.

[ July 24, 2005: Message edited by: Adrian Perry ]
[ July 24, 2005: Message edited by: Adrian Perry ]
Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
Hi Adrian Perry,

Thanks for your help. Definitely, I will try this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to install Tomcat 5.5.9 on Win98SE, it seems a perennial problem.