|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 - 3 | Next > |
|
|
Re: 20 Tips for Using Tomcat in ProductionIt depends on which operating system you're using and how you've
installed Tomcat. Can you tell us which it is? On Wed, 2007-08-22 at 07:19, Karel V Sedlacek wrote: > Thanks for this info,... > > How do I implement this tip? > > #18. Use the -server JVM option. This enables the server JVM, which JIT > compiles bytecode much earlier, and with stronger optimizations. Startup > and first calls will be slower due to JIT compilation taking more time, > but subsequent ones will be faster. > > Karel > > > In putting #1 into the JAVA_OPTS (which it appears that is the > > CATALINA_OPTS > > for our implementation), it doesn't appear to work, as Tomcat doesn't > > restart. It could be our version -- which is currently 5.0.30. please > > let > > me know if there are other steps we need to take here as well. > > > > thanks, > > Kim :-) > > > > On 8/21/07, Shane Witbeck <shane@...> wrote: > >> > >> I thought my latest blog post would be of interest to the people on this > >> list: > >> > >> > >> http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ > >> > >> --------------------------------------------------------------------- > >> To start a new topic, e-mail: users@... > >> To unsubscribe, e-mail: users-unsubscribe@... > >> For additional commands, e-mail: users-help@... > >> > >> > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: 20 Tips for Using Tomcat in Productionas far as i know this option is outdated, hence the vm automatically
goes into server mode if it detects a server class machine (>=2GB RAM, 2 processors (which also includes ht or dualcore) leon maybe wrong though On 8/22/07, Ben Souther <ben@...> wrote: > It depends on which operating system you're using and how you've > installed Tomcat. > Can you tell us which it is? > > > > On Wed, 2007-08-22 at 07:19, Karel V Sedlacek wrote: > > Thanks for this info,... > > > > How do I implement this tip? > > > > #18. Use the -server JVM option. This enables the server JVM, which JIT > > compiles bytecode much earlier, and with stronger optimizations. Startup > > and first calls will be slower due to JIT compilation taking more time, > > but subsequent ones will be faster. > > > > Karel > > > > > In putting #1 into the JAVA_OPTS (which it appears that is the > > > CATALINA_OPTS > > > for our implementation), it doesn't appear to work, as Tomcat doesn't > > > restart. It could be our version -- which is currently 5.0.30. please > > > let > > > me know if there are other steps we need to take here as well. > > > > > > thanks, > > > Kim :-) > > > > > > On 8/21/07, Shane Witbeck <shane@...> wrote: > > >> > > >> I thought my latest blog post would be of interest to the people on this > > >> list: > > >> > > >> > > >> http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ > > >> > > >> --------------------------------------------------------------------- > > >> To start a new topic, e-mail: users@... > > >> To unsubscribe, e-mail: users-unsubscribe@... > > >> For additional commands, e-mail: users-help@... > > >> > > >> > > > > > > > > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@... > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
|
|
|
Re: 20 Tips for Using Tomcat in ProductionI am running a 4 core, 8GB, Server 2003 SP1 EE (not R2) machine.
One JRE: 1.5.0_09 Karel > as far as i know this option is outdated, hence the vm automatically > goes into server mode if it detects a server class machine (>=2GB RAM, > 2 processors (which also includes ht or dualcore) > > leon > > maybe wrong though > > On 8/22/07, Ben Souther <ben@...> wrote: >> It depends on which operating system you're using and how you've >> installed Tomcat. >> Can you tell us which it is? >> >> >> >> On Wed, 2007-08-22 at 07:19, Karel V Sedlacek wrote: >> > Thanks for this info,... >> > >> > How do I implement this tip? >> > >> > #18. Use the -server JVM option. This enables the server JVM, which >> JIT >> > compiles bytecode much earlier, and with stronger optimizations. >> Startup >> > and first calls will be slower due to JIT compilation taking more >> time, >> > but subsequent ones will be faster. >> > >> > Karel >> > >> > > In putting #1 into the JAVA_OPTS (which it appears that is the >> > > CATALINA_OPTS >> > > for our implementation), it doesn't appear to work, as Tomcat >> doesn't >> > > restart. It could be our version -- which is currently 5.0.30. >> please >> > > let >> > > me know if there are other steps we need to take here as well. >> > > >> > > thanks, >> > > Kim :-) >> > > >> > > On 8/21/07, Shane Witbeck <shane@...> wrote: >> > >> >> > >> I thought my latest blog post would be of interest to the people on >> this >> > >> list: >> > >> >> > >> >> > >> http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ >> > >> >> > >> --------------------------------------------------------------------- >> > >> To start a new topic, e-mail: users@... >> > >> To unsubscribe, e-mail: users-unsubscribe@... >> > >> For additional commands, e-mail: users-help@... >> > >> >> > >> >> > > >> > >> > >> > >> > --------------------------------------------------------------------- >> > To start a new topic, e-mail: users@... >> > To unsubscribe, e-mail: users-unsubscribe@... >> > For additional commands, e-mail: users-help@... >> > >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@... >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: 20 Tips for Using Tomcat in ProductionSee the table in this page. On Windows on i586 java always defaults to client runtime. (amd64 or ia-64 are different)
http://java.sun.com/docs/hotspot/gc5.0/ergo5.html If you can set JAVA_OPTS=-server java starts with it. Print System.getProperties() and you can see what runtime is used. Ronald. On Wed Aug 22 14:15:27 CEST 2007 Tomcat Users List <users@...> wrote: > I am running a 4 core, 8GB, Server 2003 SP1 EE (not R2) machine. > One JRE: 1.5.0_09 > > Karel > > > as far as i know this option is outdated, hence the vm automatically > > goes into server mode if it detects a server class machine (>=2GB RAM, > > 2 processors (which also includes ht or dualcore) > > > > leon > > > > maybe wrong though > > > > On 8/22/07, Ben Souther <ben@...> wrote: > >> It depends on which operating system you're using and how you've > >> installed Tomcat. > >> Can you tell us which it is? > >> > >> > >> > >> On Wed, 2007-08-22 at 07:19, Karel V Sedlacek wrote: > >> > Thanks for this info,... > >> > > >> > How do I implement this tip? > >> > > >> > #18. Use the -server JVM option. This enables the server JVM, which > >> JIT > >> > compiles bytecode much earlier, and with stronger optimizations. > >> Startup > >> > and first calls will be slower due to JIT compilation taking more > >> time, > >> > but subsequent ones will be faster. > >> > > >> > Karel > >> > > >> > > In putting #1 into the JAVA_OPTS (which it appears that is the > >> > > CATALINA_OPTS > >> > > for our implementation), it doesn't appear to work, as Tomcat > >> doesn't > >> > > restart. It could be our version -- which is currently 5.0.30. > >> please > >> > > let > >> > > me know if there are other steps we need to take here as well. > >> > > > >> > > thanks, > >> > > Kim :-) > >> > > > >> > > On 8/21/07, Shane Witbeck <shane@...> wrote: > >> > >> > >> > >> I thought my latest blog post would be of interest to the people on > >> this > >> > >> list: > >> > >> > >> > >> > >> > >> http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ > >> > >> > |
|
|
Re: 20 Tips for Using Tomcat in ProductionOK, let me give this a whirl.
Karel At 09:20 AM 8/22/2007, you wrote: >See the table in this page. On Windows on i586 java always defaults to >client runtime. (amd64 or ia-64 are different) >http://java.sun.com/docs/hotspot/gc5.0/ergo5.html > >If you can set JAVA_OPTS=-server java starts with it. Print >System.getProperties() and you can see what runtime is used. > >Ronald. > >On Wed Aug 22 14:15:27 CEST 2007 Tomcat Users List ><users@...> wrote: >>I am running a 4 core, 8GB, Server 2003 SP1 EE (not R2) machine. >>One JRE: 1.5.0_09 >>Karel >> > as far as i know this option is outdated, hence the vm automatically >> > goes into server mode if it detects a server class machine (>=2GB RAM, >> > 2 processors (which also includes ht or dualcore) >> > >> > leon >> > >> > maybe wrong though >> > >> > On 8/22/07, Ben Souther <ben@...> wrote: >> >> It depends on which operating system you're using and how you've >> >> installed Tomcat. >> >> Can you tell us which it is? >> >> >> >> >> >> >> >> On Wed, 2007-08-22 at 07:19, Karel V Sedlacek wrote: >> >> > Thanks for this info,... >> >> > >> >> > How do I implement this tip? >> >> > >> >> > #18. Use the -server JVM option. This enables the server JVM, which >> >> JIT >> >> > compiles bytecode much earlier, and with stronger optimizations. >> >> Startup >> >> > and first calls will be slower due to JIT compilation taking more >> >> time, >> >> > but subsequent ones will be faster. >> >> > >> >> > Karel >> >> > >> >> > > In putting #1 into the JAVA_OPTS (which it appears that is the >> >> > > CATALINA_OPTS >> >> > > for our implementation), it doesn't appear to work, as Tomcat >> >> doesn't >> >> > > restart. It could be our version -- which is currently 5.0.30. >> >> please >> >> > > let >> >> > > me know if there are other steps we need to take here as well. >> >> > > >> >> > > thanks, >> >> > > Kim :-) >> >> > > >> >> > > On 8/21/07, Shane Witbeck <shane@...> wrote: >> >> > >> >> >> > >> I thought my latest blog post would be of interest to the people on >> >> this >> >> > >> list: >> >> > >> >> >> > >> >> >> > >> >> http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ >> >> > >> Karel Sedlacek kvs1@... CIT Data Administration Phn 607-255-7742 Cornell University Fax 607-255-1297 Ithaca, NY 14853 --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: 20 Tips for Using Tomcat in Production> From: Leon Rosenberg [mailto:rosenberg.leon@...]
> Subject: Re: 20 Tips for Using Tomcat in Production > > as far as i know this option is outdated, hence the vm automatically > goes into server mode if it detects a server class machine (>=2GB RAM, > 2 processors (which also includes ht or dualcore) The automatic mode switch based on platform configuration occurs only when using the standard java launcher. If running as a Windows service, the selection of the server or client .dll must be done explicitly in the service properties. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: [OT] 20 Tips for Using Tomcat in Production-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Karel, Karel V Sedlacek wrote: > I am running a 4 core, 8GB, Server 2003 SP1 EE (not R2) machine. > One JRE: 1.5.0_09 Oh, it's a Windows machine. Are those ever called "servers"? ;) (Just kidding.) - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGzETh9CaO5/Lv0PARAkAXAJ9YXVbnB+Q+epFof/Z1LC1eQ4nyVACfZp8H oyLDlkQgpgyP/8SwZLdOh5g= =H1v4 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: 20 Tips for Using Tomcat in ProductionOn 8/22/07, Milanez, Marcus <Marcus.Milanez@...> wrote:
> > Another tip that could be considered is the use of Tomcat Native > Libraries (http://tomcat.heanet.ie/native/) , what do you think? PLEASE DONT! Leon > > -----Mensagem original----- > De: Caldarale, Charles R [mailto:Chuck.Caldarale@...] > Enviada em: quarta-feira, 22 de agosto de 2007 10:56 > Para: Tomcat Users List > Assunto: RE: 20 Tips for Using Tomcat in Production > > > From: Leon Rosenberg [mailto:rosenberg.leon@...] > > Subject: Re: 20 Tips for Using Tomcat in Production > > > > as far as i know this option is outdated, hence the vm automatically > > goes into server mode if it detects a server class machine (>=2GB RAM, > > 2 processors (which also includes ht or dualcore) > > The automatic mode switch based on platform configuration occurs only > when using the standard java launcher. If running as a Windows service, > the selection of the server or client .dll must be done explicitly in > the service properties. > > - Chuck > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
|
|
|
|
|
|
RE: 20 Tips for Using Tomcat in Production> From: Milanez, Marcus [mailto:Marcus.Milanez@...]
> Subject: RES: 20 Tips for Using Tomcat in Production > > What's wrong? Problems with native libraries? Makes the environment much more complex and is platform-specific, eliminating one of Tomcat's highly desirable attributes - platform independence. If maximum performance is needed, then it's certainly appropriate, but many (most?) servers are rarely ever saturated. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: 20 Tips for Using Tomcat in ProductionHi,
I'm trying to get the -server option working with jsvc. When inserting -server I get this: [root@ole init.d]# service tomcat start Starting tomcat 27/08/2007 21:11:08 10371 jsvc error: Invalid option -server 27/08/2007 21:11:08 10371 jsvc error: Cannot parse command line arguments The script looks like this (Note that if I remove "-server" tomcat start fine): CATALINA_HOME=/usr/share/apache-tomcat JAVA_HOME=/usr/lib/jvm/java DAEMON_LAUNCHER=$CATALINA_HOME/bin/jsvc TOMCAT_USER=tomcat TMP_DIR=/var/cache/apache-tomcat/temp CATALINA_OPTS=-server CLASSPATH=$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/bin/commons-daemon.jar:$CATALINA_HOME/bin/bootstrap.jar case "$1" in start) # # Start Tomcat # echo -n "Starting tomcat" echo $DAEMON_LAUNCHER -server \ -user $TOMCAT_USER \ -home $JAVA_HOME \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs/catalina.out \ -errfile '&1' \ -cp $CLASSPATH \ org.apache.catalina.startup.Bootstrap # # To get a verbose JVM #-verbose # To get a debug of jsvc. #-debug ;; Any ideas? Thanks, - Ole Karel Sedlacek wrote: > OK, let me give this a whirl. > > Karel > > At 09:20 AM 8/22/2007, you wrote: >> See the table in this page. On Windows on i586 java always defaults to >> client runtime. (amd64 or ia-64 are different) >> http://java.sun.com/docs/hotspot/gc5.0/ergo5.html >> >> If you can set JAVA_OPTS=-server java starts with it. Print >> System.getProperties() and you can see what runtime is used. >> >> Ronald. >> >> On Wed Aug 22 14:15:27 CEST 2007 Tomcat Users List >> <users@...> wrote: >>> I am running a 4 core, 8GB, Server 2003 SP1 EE (not R2) machine. >>> One JRE: 1.5.0_09 >>> Karel >>> > as far as i know this option is outdated, hence the vm automatically >>> > goes into server mode if it detects a server class machine (>=2GB RAM, >>> > 2 processors (which also includes ht or dualcore) >>> > >>> > leon >>> > >>> > maybe wrong though >>> > >>> > On 8/22/07, Ben Souther <ben@...> wrote: >>> >> It depends on which operating system you're using and how you've >>> >> installed Tomcat. >>> >> Can you tell us which it is? >>> >> >>> >> >>> >> >>> >> On Wed, 2007-08-22 at 07:19, Karel V Sedlacek wrote: >>> >> > Thanks for this info,... >>> >> > >>> >> > How do I implement this tip? >>> >> > >>> >> > #18. Use the -server JVM option. This enables the server JVM, which >>> >> JIT >>> >> > compiles bytecode much earlier, and with stronger optimizations. >>> >> Startup >>> >> > and first calls will be slower due to JIT compilation taking more >>> >> time, >>> >> > but subsequent ones will be faster. >>> >> > >>> >> > Karel >>> >> > >>> >> > > In putting #1 into the JAVA_OPTS (which it appears that is the >>> >> > > CATALINA_OPTS >>> >> > > for our implementation), it doesn't appear to work, as Tomcat >>> >> doesn't >>> >> > > restart. It could be our version -- which is currently 5.0.30. >>> >> please >>> >> > > let >>> >> > > me know if there are other steps we need to take here as well. >>> >> > > >>> >> > > thanks, >>> >> > > Kim :-) >>> >> > > >>> >> > > On 8/21/07, Shane Witbeck <shane@...> wrote: >>> >> > >> >>> >> > >> I thought my latest blog post would be of interest to the >>> people on >>> >> this >>> >> > >> list: >>> >> > >> >>> >> > >> >>> >> > >> >>> http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ >>> >>> >> > >> > > Karel Sedlacek kvs1@... > CIT Data Administration Phn 607-255-7742 > Cornell University Fax > 607-255-1297 > Ithaca, NY 14853 > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: 20 Tips for Using Tomcat in ProductionHi,
I ran ./jsvc help and notice it had a -jvm option. So I tried this: CATALINA_HOME=/usr/share/apache-tomcat JAVA_HOME=/usr/lib/jvm/java DAEMON_LAUNCHER=$CATALINA_HOME/bin/jsvc TOMCAT_USER=tomcat TMP_DIR=/var/cache/apache-tomcat/temp CLASSPATH=$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/bin/commons-daemon.jar:$CATALINA_HOME/bin/bootstrap.jar case "$1" in start) # # Start Tomcat # echo -n "Starting tomcat" echo $DAEMON_LAUNCHER \ -jvm server \ #<<<<<<<<<<<<This is the good part -user $TOMCAT_USER \ -home $JAVA_HOME \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs/catalina.out \ -errfile '&1' \ -cp $CLASSPATH \ org.apache.catalina.startup.Bootstrap # # To get a verbose JVM #-verbose # To get a debug of jsvc. #-debug ;; And jsvc seems to be cool with it. Anyone know if there is a way to verify that the jvm is running in server mode? Thanks, - Ole Ole Ersoy wrote: > Hi, > > I'm trying to get the -server option working with jsvc. When inserting > -server I get this: > > [root@ole init.d]# service tomcat start > Starting tomcat > 27/08/2007 21:11:08 10371 jsvc error: Invalid option -server > 27/08/2007 21:11:08 10371 jsvc error: Cannot parse command line arguments > > The script looks like this (Note that if I remove "-server" tomcat start > fine): > > CATALINA_HOME=/usr/share/apache-tomcat > JAVA_HOME=/usr/lib/jvm/java > DAEMON_LAUNCHER=$CATALINA_HOME/bin/jsvc > TOMCAT_USER=tomcat > TMP_DIR=/var/cache/apache-tomcat/temp > CATALINA_OPTS=-server > CLASSPATH=$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/bin/commons-daemon.jar:$CATALINA_HOME/bin/bootstrap.jar > > > case "$1" in > start) > # > # Start Tomcat > # > echo -n "Starting tomcat" > echo > $DAEMON_LAUNCHER -server \ > -user $TOMCAT_USER \ > -home $JAVA_HOME \ > -Dcatalina.home=$CATALINA_HOME \ > -Djava.io.tmpdir=$TMP_DIR \ > -outfile $CATALINA_HOME/logs/catalina.out \ > -errfile '&1' \ > -cp $CLASSPATH \ > org.apache.catalina.startup.Bootstrap > # > # To get a verbose JVM > #-verbose # To get a debug of jsvc. > #-debug > ;; > > Any ideas? > > Thanks, > - Ole > > > > > Karel Sedlacek wrote: >> OK, let me give this a whirl. >> >> Karel >> >> At 09:20 AM 8/22/2007, you wrote: >>> See the table in this page. On Windows on i586 java always defaults >>> to client runtime. (amd64 or ia-64 are different) >>> http://java.sun.com/docs/hotspot/gc5.0/ergo5.html >>> >>> If you can set JAVA_OPTS=-server java starts with it. Print >>> System.getProperties() and you can see what runtime is used. >>> >>> Ronald. >>> >>> On Wed Aug 22 14:15:27 CEST 2007 Tomcat Users List >>> <users@...> wrote: >>>> I am running a 4 core, 8GB, Server 2003 SP1 EE (not R2) machine. >>>> One JRE: 1.5.0_09 >>>> Karel >>>> > as far as i know this option is outdated, hence the vm automatically >>>> > goes into server mode if it detects a server class machine (>=2GB >>>> RAM, >>>> > 2 processors (which also includes ht or dualcore) >>>> > >>>> > leon >>>> > >>>> > maybe wrong though >>>> > >>>> > On 8/22/07, Ben Souther <ben@...> wrote: >>>> >> It depends on which operating system you're using and how you've >>>> >> installed Tomcat. >>>> >> Can you tell us which it is? >>>> >> >>>> >> >>>> >> >>>> >> On Wed, 2007-08-22 at 07:19, Karel V Sedlacek wrote: >>>> >> > Thanks for this info,... >>>> >> > >>>> >> > How do I implement this tip? >>>> >> > >>>> >> > #18. Use the -server JVM option. This enables the server JVM, >>>> which >>>> >> JIT >>>> >> > compiles bytecode much earlier, and with stronger optimizations. >>>> >> Startup >>>> >> > and first calls will be slower due to JIT compilation taking more >>>> >> time, >>>> >> > but subsequent ones will be faster. >>>> >> > >>>> >> > Karel >>>> >> > >>>> >> > > In putting #1 into the JAVA_OPTS (which it appears that is the >>>> >> > > CATALINA_OPTS >>>> >> > > for our implementation), it doesn't appear to work, as Tomcat >>>> >> doesn't >>>> >> > > restart. It could be our version -- which is currently 5.0.30. >>>> >> please >>>> >> > > let >>>> >> > > me know if there are other steps we need to take here as well. >>>> >> > > >>>> >> > > thanks, >>>> >> > > Kim :-) >>>> >> > > >>>> >> > > On 8/21/07, Shane Witbeck <shane@...> wrote: >>>> >> > >> >>>> >> > >> I thought my latest blog post would be of interest to the >>>> people on >>>> >> this >>>> >> > >> list: >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ >>>> >>>> >> > >> >> >> Karel Sedlacek kvs1@... >> CIT Data Administration Phn 607-255-7742 >> Cornell University Fax >> 607-255-1297 >> Ithaca, NY 14853 >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@... >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: 20 Tips for Using Tomcat in Production> From: Ole Ersoy [mailto:ole.ersoy@...]
> Subject: Re: 20 Tips for Using Tomcat in Production > > Anyone know if there is a way to verify that the > jvm is running in server mode? Enable JMX and use JConsole to look inside, or install Lambda Probe and look at its System Information tab. Get Lambda Probe from here: http://www.lambdaprobe.org - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| < Prev | 1 - 2 - 3 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |