To be absolutely sure I uninstalled both JRE and JDK, manually
removing anything left behind, and reinstalled. This time the
JRE did not have a server JVM indeed, so maybe another program
had copied it. However the JDK has one and if I use it for the
Tomcat server and later try to start it (with debugging enabled)
I get this:

[2011-03-16 06:12:23] [info]  Commons Daemon procrun (1.0.5.0 32-bit) started
[2011-03-16 06:12:23] [info]  Service Tomcat7 name Apache Tomcat 7
[2011-03-16 06:12:23] [info]  Service 'Tomcat7' installed
[2011-03-16 06:12:23] [info]  Commons Daemon procrun finished
[2011-03-16 06:12:39] [debug] ( prunsrv.c:1494) Commons Daemon procrun log 
initialized
[2011-03-16 06:12:39] [info]  (          :0   ) Commons Daemon procrun (1.0.5.0 
32-bit) started
[2011-03-16 06:12:39] [info]  (          :0   ) Debugging 'Tomcat7' Service...
[2011-03-16 06:12:39] [debug] ( prunsrv.c:1246) Inside ServiceMain...
[2011-03-16 06:12:39] [info]  (          :0   ) Starting service...
[2011-03-16 06:12:39] [debug] ( javajni.c:195 ) Invalid RuntimeLib 
'C:\Java\j2sdk1.6.0\bin\server\jvm.dll'
[2011-03-16 06:12:39] [debug] ( javajni.c:197 ) Using Jre JavaHome 
'C:\Programme\Java\jre6'
[2011-03-16 06:12:39] [debug] ( javajni.c:206 ) loading jvm 
'C:\Programme\Java\jre6\bin\server\jvm.dll'
[2011-03-16 06:12:39] [debug] ( javajni.c:251 ) Setting DLL search path to 
'C:\Programme\Java\jre6\bin\server'
[2011-03-16 06:12:39] [debug] ( javajni.c:251 ) Setting DLL search path to 
'C:\Programme\Java\jre6\bin'
[2011-03-16 06:12:39] [error] ( javajni.c:264 ) Das angegebene Modul wurde 
nicht gefunden.
[2011-03-16 06:12:39] [error] ( prunsrv.c:1037) Failed creating java 
C:\Java\j2sdk1.6.0\bin\server\jvm.dll
[2011-03-16 06:12:39] [error] ( prunsrv.c:1037) Das angegebene Modul wurde 
nicht gefunden.
[2011-03-16 06:12:39] [error] ( prunsrv.c:1377) ServiceStart returned 1
[2011-03-16 06:12:39] [error] ( prunsrv.c:1377) Das angegebene Modul wurde 
nicht gefunden.
[2011-03-16 06:12:39] [info]  (          :0   ) Debug service finished.
[2011-03-16 06:12:39] [info]  (          :0   ) Commons Daemon procrun finished

So it just plain doesn't work with the server VM. It works with
the client VM, though.

-- O.L.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to