Re: setting jvm parameters to optimize production performance

2016-05-06 Thread tomcat
On 06.05.2016 14:11, Stefan Frei wrote: Tomcat 8.0.33 Debain jessie java 8 Hello i cannot find any resources how to set configure the setenv.sh for a production environment. Does somebody have some tips? You have not been looking very hard. How about this for a start : http://tomcat.apache

Re: setting jvm parameters to optimize production performance

2016-05-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stafan, On 5/6/16 8:11 AM, Stefan Frei wrote: > Tomcat 8.0.33 Debain jessie java 8 > > Hello > > i cannot find any resources how to set configure the setenv.sh for > a production environment. > > Does somebody have some tips? Just turn off the "su

Re: setting jvm parameters to optimize production performance

2016-05-06 Thread Aurélien Terrestris
Hi Stefan I think that tuning should be considered for one application, not for "production" or "development". First, you need to check how your JVM is working with its memory parameters. You can either learn its behaviour by checking the logs ( add this to the setenv : -XX:+PrintGCDetails -XX:+P

Re: setting jvm parameters to optimize production performance

2016-05-06 Thread Olaf Kock
Am 06.05.2016 um 14:11 schrieb Stefan Frei: > Tomcat 8.0.33 > Debain jessie > java 8 > > Hello > > i cannot find any resources how to set configure the setenv.sh for a > production environment. > > Does somebody have some tips? *How* to set them? CATALINA_OPTS="-your -parameters -here" *Which*

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
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 a écrit : - A : users@tomcat.apache.org De : Matthias Müller Date : 20/09/2012 11:57 Objet : Setting JVM Parameters i

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

RE: setting JVM parameters

2009-07-31 Thread dori
quel effet légalement obligatoire. Étant donné que > les email peuvent facilement être sujets à la manipulation, nous ne > pouvons accepter aucune responsabilité pour le contenu fourni. > > > > >> Date: Fri, 31 Jul 2009 07:32:38 -0700 >> From: dorian.cus...@googlemail.com

RE: setting JVM parameters

2009-07-31 Thread Martin Gainty
; Date: Fri, 31 Jul 2009 07:32:38 -0700 > From: dorian.cus...@googlemail.com > To: users@tomcat.apache.org > Subject: RE: setting JVM parameters > > > Hello, > > It was installed through a control panel (parellels), i start an stop by > typing > > service tomcat6 rest

RE: setting JVM parameters

2009-07-31 Thread dori
sorry, the $WRAPPER_CONF shows me the file to edit. Thanks for your help! dori wrote: > > Hello, > > It was installed through a control panel (parellels), i start an stop by > typing > > service tomcat6 restart > > at command line. Looking at the tomcat file in etc/init.d/ i see the > fol

RE: setting JVM parameters

2009-07-31 Thread dori
Hello, It was installed through a control panel (parellels), i start an stop by typing service tomcat6 restart at command line. Looking at the tomcat file in etc/init.d/ i see the following start() { echo "Starting $APP_LONG_NAME..." getpid if [ "X$pid" = "X" ] then # T

RE: setting JVM parameters

2009-07-31 Thread Caldarale, Charles R
> From: dori [mailto:dorian.cus...@googlemail.com] > Subject: setting JVM parameters > > JAVA_OPTS="$JAVA_OPTS -Xmx128m -Xms128m" > by placing it at the top of my catalina.sh file Better to create a setenv.sh file with the above than to modify the Tomcat-supplied script. > I am running tomcat6