RE: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-25 Thread Jeffrey Janner
-Original Message- From: Matthias Müller [mailto:mm4...@googlemail.com] Sent: Thursday, September 20, 2012 2:02 PM To: Tomcat Users List Subject: Re: Setting JVM Parameters in Windows Service for Tomcat7 Hi, Environment variables are irrelevant when running services. That's why

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/22/12 3:36 PM, André Warnier wrote: Patrick Flaherty wrote: Is this a Windows platform ? :-) If you manage to run tomcat.exe on a platform other than Windows, let us know. It would greatly simplify the Tomcat releases. I wonder if

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-22 Thread André Warnier
Patrick Flaherty wrote: Hi Mikolaj, Is this a Windows platform ? :-) If you manage to run tomcat.exe on a platform other than Windows, let us know. It would greatly simplify the Tomcat releases. -Pat On Sep 20, 2012, at 10:16 AM, Mikolaj Rydzewski wrote: On 20.09.2012 15:59, Patrick

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 11:41, Matthias Müller wrote: The documentation tells, that this could be done by calling tomcat7 //US//Tomcat7 ... This method works, but it is not practicable for our production environment, because these settings are stored in the registry. Is it possible to specify these

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread jean-louis . mateo
Hi Matthias, Mikolaj is right, you can set the tomcat and java properties by running tomcatw.exe (%CATALINA_HOME%\bin) Hope this helps Jean-Louis -Matthias Müller mm4...@googlemail.com a écrit : - A : users@tomcat.apache.org De : Matthias Müller mm4...@googlemail.com Date :

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread chris derham
The documentation tells, that this could be done by calling tomcat7 //US//Tomcat7 ... This method works, but it is not practicable for our production environment, because these settings are stored in the registry. Matthias - can you please elaborate on exactly what it is not practicable for

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
HI Matthias, I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can you give me an example of the syntax that worked for you ? I'm just looking to set the min/max heap sizes. Thanks Pat On Sep 20, 2012, at 5:41 AM,

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 14:49, Patrick Flaherty wrote: I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can you give me an example of the syntax that worked for you ? I'm just looking to set the min/max heap sizes.

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Brett Delle Grazie
On 20 September 2012 13:53, Mikolaj Rydzewski m...@ceti.pl wrote: On 20.09.2012 14:49, Patrick Flaherty wrote: I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can you give me an example of the syntax that worked for you ?

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
On Sep 20, 2012, at 9:25 AM, Brett Delle Grazie wrote: On 20 September 2012 13:53, Mikolaj Rydzewski m...@ceti.pl wrote: On 20.09.2012 14:49, Patrick Flaherty wrote: I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 15:59, Patrick Flaherty wrote: Have you tried this and gotten it to work ? My check to see if it took has been to open tomcatw.exe and check the values there. No matter what I've tried I cannot get it to take. Yes, it works for me in both ways (either via CLI or GUI). In fact I

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
Hi Mikolaj, Is this a Windows platform ? -Pat On Sep 20, 2012, at 10:16 AM, Mikolaj Rydzewski wrote: On 20.09.2012 15:59, Patrick Flaherty wrote: Have you tried this and gotten it to work ? My check to see if it took has been to open tomcatw.exe and check the values there. No matter what

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 16:39, Patrick Flaherty wrote: Is this a Windows platform ? Looking at the path I suppose so :-) ${root}\\bin\\tomcat6.exe -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe, e-mail:

RE: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Martin Gainty
à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Thu, 20 Sep 2012 16:47:05 +0200 From: m...@ceti.pl To: users@tomcat.apache.org Subject: Re: Setting JVM Parameters in Windows Service for Tomcat7 On 20.09.2012 16:39, Patrick Flaherty wrote

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 9/20/12 11:37 AM, Martin Gainty wrote: if passing the -D options are not working for you when running service why not SET JAVA_OPTS=-Xms1024m -Xmx1024m and then run the service? Environment variables are irrelevant when running

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
Hi Mikolaj, I got it to work. I was not using a space after the --JvmMs and -- JvmMx switches. So in summary the following works: \tomcat7.exe //US//tomcat7 --JvmMs 512 --JvmMx 1024 Thanks for everyone's help. -Pat On Sep 20, 2012, at 10:16 AM, Mikolaj Rydzewski wrote: On 20.09.2012

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Matthias Müller
Hi, Environment variables are irrelevant when running services. That's why the registry values exist. That's a good point! Thanks for the nice discussion. Matthias - can you please elaborate on exactly what it is not practicable for our production environment means? I want to put the

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread David kerber
On 9/20/2012 3:02 PM, Matthias Müller wrote: Hi, Environment variables are irrelevant when running services. That's why the registry values exist. That's a good point! Thanks for the nice discussion. Matthias - can you please elaborate on exactly what it is not practicable for our

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
On Sep 20, 2012, at 3:02 PM, Matthias Müller wrote: Hi, Environment variables are irrelevant when running services. That's why the registry values exist. That's a good point! Thanks for the nice discussion. Matthias - can you please elaborate on exactly what it is not practicable for