tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkus <>
Subject How to run tomcat service in JDK6?
Date Sat, 30 Dec 2006 17:02:19 GMT

I first downloaded windows service installer of 5.5.20 and can't get it work,
then I switched to zip file version. Reason is I checked doc for how-to and
it indicated service.bat which can only be found in zip version.

I followed how-to and ran "service.bat install", which was successful based
on console as below,

Installing the service 'Tomcat5' ...
Using CATALINA_HOME:    C:\tomcat-5.5.20
Using CATALINA_BASE:    C:\tomcat-5.5.20
Using JAVA_HOME:        C:\Program Files\Java\jdk1.6.0
Using JVM:              C:\Program
The service 'Tomcat5' has been installed.

Then I clicked tomcat5w.exe and chose start button, but status still showed
stopped. I checked log file which showed me following info,

[2006-12-29 23:27:47] [info] Starting service...
[2006-12-29 23:27:47] [173  javajni.c] [error] The specified module could
not be found.
[2006-12-29 23:27:47] [924  prunsrv.c] [error] Failed creating java
C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll
[2006-12-29 23:27:47] [1179 prunsrv.c] [error] ServiceStart returned 1
[2006-12-29 23:27:47] [info] Run service finished.
[2006-12-29 23:27:47] [info] Procrun finished.

Some configuration in tomcat5w.exe are,

(General tab)Path to execute: C:\tomcat-5.5.20\bin\tomcat5.exe //RS//Tomcat5
(Java tab)Use default: not checked;
Java Virtual Machine: C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll
Java Classpath: C:\tomcat-5.5.20\bin\bootstrap.jar
Java Options: -Dcatalina.base=C:\tomcat-5.5.20
(Startup tab) Class: org.apache.catalina.startup.Bootstrap
Working Path: empty (I even tried putting C:\tomcat-5.5.20 here, but still
doesn't work)
Methods: empty
Argument: start
Mode: jvm

Has anyone used JDK 6 for 5.5.20? Any idea? Thanks and Happy New Year!
View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message