aspose file tools*
The moose likes Tomcat and the fly likes How to update JVM option in tomcat5. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to update JVM option in tomcat5." Watch "How to update JVM option in tomcat5." New topic
Author

How to update JVM option in tomcat5.

chandan mahajan
Greenhorn

Joined: Aug 21, 2009
Posts: 4
Hi,
I have installed tomcat5 as the window service. I have to update JVM parameter for the tomcat. Can anybody let me know how to do it. I could update min and max pool size by executing following command.
tomcat5 //US//<servicename> --JvmMs=1024 --JvmMx=1024. But do not know how to send X parameter to JVM using --JvmOptions. I tried following command but later on I could not start the service.


>tomcat5 //US//<service name> --JvmOptions "-Xns:128M;-Xgc:gencon;-Xstrictfp;-Xverbose:gc;-XverboseLog:GC.log;"

Let me know if anybody is having any idea on this.
chandan mahajan
Greenhorn

Joined: Aug 21, 2009
Posts: 4
Also let me know how to monitor the service setting using GUI application. AFter googling, I come to know that tomcat5w will show pop up a gui applicaiton which show jvm parameter on java tab. However, I have installed the service with different name and tomcat5w is the default service. I have installed service using service.bat intall <servicename> command but I do not see any exe similar to tomcat5w.exe for this service. Let me know if you need any other details on this.
 
Don't get me started about those stupid light bulbs.
 
subject: How to update JVM option in tomcat5.