You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sreeni2711 <ma...@gmail.com> on 2009/08/04 16:22:39 UTC

Re: Update tomcat service (of version 5.5)

"Tomcat\bin\tomcat5.exe" //US//serviceName -Startup Auto ++JvmOptions
-Xms512m;-Xmx1024m

According to my understanding 

The double quotes at the beginning of the command and after tomcat5.exe are
not needed. Also instead if -Startup, you have to give --Startup=auto and it
is --JvmOptions not ++JvmOptions

So i think the correct command will be 
 
Tomcat\bin\tomcat5.exe //US//serviceName --Startup=auto
--JvmOptions=-Xms512m;-Xmx1024m

The memory parameters can be updated through --JvmMx and --JvmMs also

then we can give 
 Tomcat\bin\tomcat5.exe //US//serviceName --Startup=auto --JvmMx=1024
--JvmMs=512

This will work for tomcat 5 or above
Thanks,

Sree

  
-- 
View this message in context: http://www.nabble.com/Update-tomcat-service-%28of-version-5.5%29-tp18055015p24809593.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


RE: Update tomcat service (of version 5.5)

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: André Warnier [mailto:aw@ice-sa.com]
> Subject: Re: Update tomcat service (of version 5.5)
> 
> Sreeni2711 wrote:
> > "Tomcat\bin\tomcat5.exe" //US//serviceName -Startup Auto ++JvmOptions
> > -Xms512m;-Xmx1024m
> >
> I don't know what this all refers to, but you may want to have a look
> here :
> http://commons.apache.org/daemon/procrun.html

It refers to a thread from June 2008 that already discussed everything Sreeni suggested, as well as a link to the doc for procrun.  Raising the dead.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


Re: Update tomcat service (of version 5.5)

Posted by André Warnier <aw...@ice-sa.com>.
Sreeni2711 wrote:
> "Tomcat\bin\tomcat5.exe" //US//serviceName -Startup Auto ++JvmOptions
> -Xms512m;-Xmx1024m
> 
I don't know what this all refers to, but you may want to have a look here :
http://commons.apache.org/daemon/procrun.html

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