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 ir

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 won

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 Fla

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

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 producti

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 co

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 1

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 se

RE: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Martin Gainty
euvent facilement être sujets à 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

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 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

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 I

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
On Sep 20, 2012, at 9:25 AM, Brett Delle Grazie wrote: On 20 September 2012 13:53, Mikolaj Rydzewski 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

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Brett Delle Grazie
On 20 September 2012 13:53, Mikolaj Rydzewski 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 ? I'm

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. http://commons.apac

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, Matthi

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 practi

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread jean-louis . mateo
in Windows Service for Tomcat7 Hi, I want to set JVM Parameters in a Windows Service (Windows7) for Tomcat7 (7.0.30) 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, bec

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 par

Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Matthias Müller
Hi, I want to set JVM Parameters in a Windows Service (Windows7) for Tomcat7 (7.0.30) 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 regis