Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: How do I start Tomcat as a service using the HotSpot VM

Bill Barker

2007-07-31

Replies:


"rmiller" <ron.miller@(protected)
news:11937794.post@(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@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>




---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.