> From: Anand HS [mailto:anan...@gmail.com] 
> Subject: Set Java VM arguments programmatically in Tomcat

> I would like to set JVM  arguments like Xmx, Xms etc programmatically 
> and provide it to Tomcat at start up.

Not quite sure what you mean by "programmatically" here, since the values must 
be set during JVM initialization, long before any Tomcat code runs.  You can 
write your own script that sets the CATALINA_OPTS variable and then invokes the 
regular Tomcat startup scripts.

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

Reply via email to