Hi Tomcat Users, 

I am trying to configure Tomcat 6.0.20 on Windows Server 2003 x64 and find that 
the installed service abruptly stops during startup. The following errors are 
logged.

[2009-06-23 14:49:46] [info] Procrun (2.0.4.0) started
[2009-06-23 14:49:46] [info] Running Service...
[2009-06-23 14:49:46] [info] Starting service...
[2009-06-23 14:49:46] [174? javajni.c] [error] %1 is not a valid Win32 
application.
[2009-06-23 14:49:46] [994? prunsrv.c] [error] Failed creating java 
D:\Java\jdk1.6.0_14\jre\bin\server\jvm.dll
[2009-06-23 14:49:46] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-06-23 14:49:46] [info] Run service finished.
[2009-06-23 14:49:46] [info] Procrun finished.
[2009-06-23 15:07:48] [info] Procrun (2.0.5.0) started
[2009-06-23 15:07:48] [info] Running Service...
[2009-06-23 15:07:48] [info] Starting service...
[2009-06-23 15:07:49] [info] Service started in 1218 ms.

However, I am able to use the startup.bat script successfully. The version of 
Java is 6.0.14 for x64 Windows and JAVA_HOME is pointed to it (I assume that's 
why the script works). Has anyone found a fix for the Windows service issue?

Regards, 
Abdul.

Reply via email to