"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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to