Hi All,
I'm having problems installing Tomcat 6.0.29 as a service on a Windows 2008
server. Here are the relevant specs
Apache Tomcat v6.0.29 (64 bit)
JDK 6u22 (64 bit)
Windows Server Standard 2008 (sp2)
I've tried to start the Tomcat as a service unsuccessfully. I have run
Tomcat6 and service.bat from the command line. Here's my output from
service.bat
C:\c\tomcat\bin>service.bat install
Installing the service 'Tomcat6' ...
Using CATALINA_HOME: "C:\c\tomcat"
Using CATALINA_BASE: "C:\c\tomcat"
Using JAVA_HOME: "c:\Program Files\Java\jdk1.6.0_22"
Using JVM: "c:\Program
Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll"
Failed installing 'Tomcat6' service
C:\c\tomcat\bin>
Here is what I'm seeing in my Jakarta Service Log:
[2010-11-18 11:42:20] [1381 prunsrv.c] [debug] Commons Daemon procrun
log initialized
[2010-11-18 11:42:20] [info] Commons Daemon procrun (1.0.2.0) started
[2010-11-18 11:42:20] [info] Running Service...
[2010-11-18 11:42:20] [1165 prunsrv.c] [debug] Inside ServiceMain...
[2010-11-18 11:42:20] [info] Starting service...
[2010-11-18 11:42:20] [206 javajni.c] [error] The specified module
could not be found.
[2010-11-18 11:42:20] [985 prunsrv.c] [error] Failed creating java
[2010-11-18 11:42:20] [1280 prunsrv.c] [error] ServiceStart returned 1
[2010-11-18 11:42:20] [info] Run service finished.
[2010-11-18 11:42:20] [info] Commons Daemon procrun finished.
I have checked the environmental variables above and I believe that they are
correct. I have also copied msrvc71.dll to my oc\tomcat\bin directory
(where Tomcat6.exe is located) per some other suggestions I've found online.
I can see the service from Windows Services but I can't start it from there
Nor can I start it using netstart from the command line or using
service.bat. I'm new to Apache and Java. Any help would be appreciated.
Thanks in advance,
Richard