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

Set Java VM arguments programmatically in Tomcat

2011-06-30 Thread Anand HS
Hello Everyone. ! I would like to set JVM arguments like Xmx, Xms etc programmatically and provide it to Tomcat at start up. I am aware of doing this by editing for eg, catalina.bat or introducing setenv.bat , but I was keen on exploring any other ways tomcat provides in which I can override

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

Re: Set Java VM arguments programmatically in Tomcat

2011-06-30 Thread Anand HS
chuck.caldar...@unisys.com wrote: 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

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,