tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sreeni2711 <mailtosree...@gmail.com>
Subject Re: Update tomcat service (of version 5.5)
Date Tue, 04 Aug 2009 14:22:39 GMT

"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


Mime
View raw message