RE: Set Java VM arguments programmatically in Tomcat

2011-07-12 Thread Bill Miller
the registry changes, but that doesn't involve Java at all. Bill -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: June 30, 2011 10:10 PM To: Tomcat Users List Subject: Re: Set Java VM arguments programmatically in Tomcat -BEGIN PGP SIGNED

RE: Set Java VM arguments programmatically in Tomcat

2011-06-30 Thread Caldarale, Charles R
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

Re: Set Java VM arguments programmatically in Tomcat

2011-06-30 Thread Anand HS
I apologize for not being clearer. Basically I would like not to use any batch scripts ( in Windows ) to set CATALINA_OPTS, JAVA_OPTS etc.. , instead would like to do it through a custom Java program and then hook up . To this effect, I was wondering if there is a way to extend Bootstrap class of

Re: Set Java VM arguments programmatically in Tomcat

2011-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anand, On 6/30/2011 6:18 PM, Anand HS wrote: Basically I would like not to use any batch scripts ( in Windows ) to set CATALINA_OPTS, JAVA_OPTS etc.. , instead would like to do it through a custom Java program and then hook up. You can do this,