• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Adrian Perry,

Thanks for your help. Definitely, I will try this.
 
reply
    Bookmark Topic Watch Topic
  • New Topic