How do I start Tomcat as a service using the HotSpot VM
I can start Tomcat with the HotSpot VM using the -server JVM option in startup.bat. But when I try to start Tomcat as a service with the -server option in the registry key HKEY_LOCAL_MACHINE-Software-Apache Software Foundation-Procrun 2.0-PortalServer-Parmeters-Java-Options it won't start. The event log is vague: The Apache Tomcat PortalServer service terminated with service-specific error 0 (0x0). I can add other JVM options to the Options value such as -XX:NewSize, -XX:MaxNewSize, etc., and it starts without problem. But the -server option kills it. Is there a specific key value for the -server option? Using: Windows 2003 Server Tomcat 5.0.28 jdk1.5.0_09 Thanks, Ron -- View this message in context: http://www.nabble.com/How-do-I-start-Tomcat-as-a-service-using-the-HotSpot-VM-tf4197361.html#a11937794 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I start Tomcat as a service using the HotSpot VM
rmiller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I can start Tomcat with the HotSpot VM using the -server JVM option in startup.bat. But when I try to start Tomcat as a service with the -server option in the registry key HKEY_LOCAL_MACHINE-Software-Apache Software Foundation-Procrun 2.0-PortalServer-Parmeters-Java-Options it won't start. The event log is vague: The Apache Tomcat PortalServer service terminated with service-specific error 0 (0x0). I can add other JVM options to the Options value such as -XX:NewSize, -XX:MaxNewSize, etc., and it starts without problem. But the -server option kills it. Is there a specific key value for the -server option? It is easier to use the tomcat5w.exe utility to change this, but from regedit, you change the value of the ...\Java\Jvm entry to point to the server version of jvm.dll. Using: Windows 2003 Server Tomcat 5.0.28 jdk1.5.0_09 Thanks, Ron -- View this message in context: http://www.nabble.com/How-do-I-start-Tomcat-as-a-service-using-the-HotSpot-VM-tf4197361.html#a11937794 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I start Tomcat as a service using the HotSpot VM
Thanks for clarifying this Bill. As it turns out service.bat creates the service to use the server version of jvm.dll by default; the Jvm arguement is pointing to D:\Java\jdk1.5.0_09\jre\bin\server\jvm.dll. Should have noticed that :) Do you know of any other JVM tuning arguement odities when starting Tomcat as a service? It is easier to use the tomcat5w.exe utility to change this, but from regedit, you change the value of the ...\Java\Jvm entry to point to the server version of jvm.dll. -- View this message in context: http://www.nabble.com/How-do-I-start-Tomcat-as-a-service-using-the-HotSpot-VM-tf4197361.html#a11938811 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]