AnsweredAssumed Answered

Cannot install as Windows Service on W2K3 Server

Question asked by devcor on Oct 9, 2008
I installed today using the full bundle 3.0, but when I tried to install tomcat as a windows service and attempted to start the service, I received an error that windows could not start this service, please check with vendor for error codes. Any ideas?

Log after installing Tomcat (this also occured after setting service parameters, shown only as an example:
D:\Alfresco\tomcat\bin>service.bat install
Installing the service 'Tomcat5' …
Using CATALINA_HOME:    D:\Alfresco\tomcat
Using CATALINA_BASE:    D:\Alfresco\tomcat
Using JAVA_HOME:
Using JVM:              auto
The service 'Tomcat5' has been installed.

Error logs from Tomcat:
[2008-10-09 06:02:26] [947  prunsrv.c] [error] Failed creating java 
[2008-10-09 06:02:26] [1202 prunsrv.c] [error] ServiceStart returned 1
[2008-10-09 06:02:26] [info] Run service finished.
[2008-10-09 06:02:26] [info] Procrun finished.
[2008-10-09 06:02:47] [info] Updating service…
[2008-10-09 06:02:47] [info] Service alfresco updated
[2008-10-09 06:02:47] [info] Update service finished.
[2008-10-09 06:02:47] [info] Procrun finished.
[2008-10-09 06:02:49] [info] Running Service…
[2008-10-09 06:02:49] [info] Starting service…
[2008-10-09 06:02:49] [174  javajni.c] [error] The specified module could not be found.
[2008-10-09 06:02:49] [947  prunsrv.c] [error] Failed creating java
[2008-10-09 06:02:49] [1202 prunsrv.c] [error] ServiceStart returned 1
[2008-10-09 06:02:49] [info] Run service finished.
[2008-10-09 06:02:49] [info] Procrun finished.
[2008-10-09 11:05:37] [info] Running Service…
[2008-10-09 11:05:37] [info] Starting service…
[2008-10-09 11:05:37] [174  javajni.c] [error] The specified module could not be found.
[2008-10-09 11:05:37] [947  prunsrv.c] [error] Failed creating java
[2008-10-09 11:05:37] [1202 prunsrv.c] [error] ServiceStart returned 1
[2008-10-09 11:05:37] [info] Run service finished.
[2008-10-09 11:05:37] [info] Procrun finished.
[2008-10-09 11:22:04] [info] Service Tomcat5 name Apache Tomcat
[2008-10-09 11:22:04] [info] Service Tomcat5 installed
[2008-10-09 11:22:04] [info] Procrun finished.
[2008-10-09 11:22:04] [info] Updating service…
[2008-10-09 11:22:04] [info] Service Tomcat5 updated
[2008-10-09 11:22:04] [info] Update service finished.
[2008-10-09 11:22:04] [info] Procrun finished.
[2008-10-09 11:22:04] [info] Updating service…
[2008-10-09 11:22:04] [info] Service Tomcat5 updated
[2008-10-09 11:22:04] [info] Update service finished.
[2008-10-09 11:22:04] [info] Procrun finished.

Outcomes