aspose file tools*
The moose likes Tomcat and the fly likes tomcat 5.5 not starting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat 5.5 not starting" Watch "tomcat 5.5 not starting" New topic
Author

tomcat 5.5 not starting

Vrunda Joshi
Ranch Hand

Joined: Dec 03, 2001
Posts: 104
Hi everyone,

I have tomcat 5.5 on xp. I have jdk1.5. everything was working perfectly.Last week I uninstalled some of the updates (JRE updates) and tomcat has stopped starting.I have again installed jdk1.5 with update 9 and 11,10. my java_home and catalina_home are set properly.
So I am not sure which updates or what I need to make the tomcat work again.. any suggestion?

thanks in advance

Vrunda
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Are you seeing errors in the tomcat logs?
They're located under {tomcat install}/logs


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Vrunda Joshi
Ranch Hand

Joined: Dec 03, 2001
Posts: 104
Hey Ben,

yes I can see the log file,it has
------------------------------------------
[2007-03-29 07:41:32] [info] Debuging Service...
[2007-03-29 07:41:32] [info] Starting service...
[2007-03-29 07:41:32] [173 javajni.c] [error] The specified module could not be found.
[2007-03-29 07:41:32] [924 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
[2007-03-29 07:41:32] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-29 07:41:32] [info] Debug service finished.
[2007-03-29 07:41:32] [info] Procrun finished.
[2007-03-29 07:49:39] [info] Debuging Service...
[2007-03-29 07:49:39] [info] Starting service...
[2007-03-29 07:49:39] [173 javajni.c] [error] The specified module could not be found.
[2007-03-29 07:49:39] [924 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
[2007-03-29 07:49:39] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-29 07:49:39] [info] Debug service finished.
[2007-03-29 07:49:39] [info] Procrun finished.
[2007-03-29 08:01:47] [info] Debuging Service...
[2007-03-29 08:01:47] [info] Starting service...
[2007-03-29 08:01:47] [173 javajni.c] [error] The specified module could not be found.
[2007-03-29 08:01:47] [924 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
[2007-03-29 08:01:47] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-29 08:01:47] [info] Debug service finished.
[2007-03-29 08:01:47] [info] Procrun finished.
[2007-03-29 08:07:02] [info] Debuging Service...
[2007-03-29 08:07:02] [info] Starting service...
[2007-03-29 08:07:02] [173 javajni.c] [error] The specified module could not be found.
[2007-03-29 08:07:02] [924 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
[2007-03-29 08:07:03] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-29 08:07:03] [info] Debug service finished.
[2007-03-29 08:07:03] [info] Procrun finished.
-----------------------------
does this mean I need jdk1.5.0_06 and jre1.5.0_06?
I already have jdk1.5.0_09?

these versions and numbers are so confusing
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

It sounds like your JAVA_HOME environment variable is not set properly.

Type:

at a command window and make sure the path returned actually point to your JDKs root directory.
Vrunda Joshi
Ranch Hand

Joined: Dec 03, 2001
Posts: 104
hey,

yes, it's properly pointing to jdk's root directory. I checked my path too,it had the dir jdk1.5.0_06,so I changed it to jdk1.5.0_09 restarted pc. still no luck.
the error is still the same.
-------------
[2007-03-29 10:27:38] [924 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
[2007-03-29 10:27:38] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-29 10:27:38] [info] Debug service finished.
[2007-03-29 10:27:38] [info] Procrun finished.
[2007-03-29 10:33:43] [info] Debuging Service...
[2007-03-29 10:33:43] [info] Starting service...
[2007-03-29 10:33:43] [173 javajni.c] [error] The specified module could not be found.
[2007-03-29 10:33:43] [924 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
[2007-03-29 10:33:43] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-03-29 10:33:43] [info] Debug service finished.
[2007-03-29 10:33:43] [info] Procrun finished.
----------------
why is it still looking for jre1.5.0_06?

Vrunda
Vrunda Joshi
Ranch Hand

Joined: Dec 03, 2001
Posts: 104
Hey,
It worked out!!!
the tomcat\bin has a tomcat5w.exe file. I don't know what it is, but as I was trying, I clicked on it,it has options for some properties to set. One of these is for Java (JVM),which was set to jre1.5.0_06\bin\client\jvm.dll, so I changed it to the current one that I have (jre1.5.0_11\bin\client\jvm.dll).and it's started working now.

I don't remember changing this setting when I had installed tomcat.
anyways..
thanks for your help though

Vrunda
Robin MacFarlane
Greenhorn

Joined: Mar 20, 2008
Posts: 1
I ran into the same trouble and found this thread really useful:

http://forum.java.sun.com/thread.jspa?threadID=5121172&start=0&tstart=0

Adding C:\Program Files\Java\jdk1.6.0_05\bin to the 'path' environment variable and restarting did the trick for me, but others on the thread mention copying msvcr71.dll from C:\Program Files\Java\jre1.6.0_05\bin
to C:\winnt\system32 worked.

According to the tread, the issue only seems to occur on WIN2K.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat 5.5 not starting