• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to update JVM option in tomcat5.

 
chandan mahajan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic