Re: 20 Tips for Using Tomcat in Production

2007-08-29 Thread Ole Ersoy
library versions nightmare.. :-) -Original Message- From: Diego Yasuhiko Kurisaki [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 00:35 To: Tomcat Users List Subject: Re: 20 Tips for Using Tomcat in Production I agree, i'm not willing to pay the management overhead of putting my s

RE: 20 Tips for Using Tomcat in Production

2007-08-29 Thread myrealbruno
the usual library versions nightmare.. :-) -Original Message- From: Diego Yasuhiko Kurisaki [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 00:35 To: Tomcat Users List Subject: Re: 20 Tips for Using Tomcat in Production I agree, i'm not willing to pay the management overhead of putti

RE: 20 Tips for Using Tomcat in Production

2007-08-29 Thread myrealbruno
st Subject: RES: 20 Tips for Using Tomcat in Production If you are running tomcat under windows services, you can select which JVM you want to use through bin/tomcatXw.exe. -Mensagem original- De: Karel V Sedlacek [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 22 de agosto de

Re: 20 Tips for Using Tomcat in Production

2007-08-28 Thread Ole Ersoy
PROTECTED] Subject: Re: 20 Tips for Using Tomcat in Production Or just look at the value for the system property "java.vm.name". Yes, that's exactly what both JConsole and Lambda Probe do; I was just trying to suggest a mechanism that didn't require writing additional code. -

RE: 20 Tips for Using Tomcat in Production

2007-08-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: 20 Tips for Using Tomcat in Production > > Or just look at the value for the system property "java.vm.name". Yes, that's exactly what both JConsole and Lambda Probe do; I was just trying to sugg

Re: 20 Tips for Using Tomcat in Production

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck and Ole, Caldarale, Charles R wrote: >> From: Ole Ersoy [mailto:[EMAIL PROTECTED] >> Subject: Re: 20 Tips for Using Tomcat in Production >> >> Anyone know if there is a way to verify that the >> jvm is running i

RE: 20 Tips for Using Tomcat in Production

2007-08-27 Thread Caldarale, Charles R
> From: Ole Ersoy [mailto:[EMAIL PROTECTED] > 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

Re: 20 Tips for Using Tomcat in Production

2007-08-27 Thread Ole Ersoy
; > 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 :-) >> > > >

Re: 20 Tips for Using Tomcat in Production

2007-08-27 Thread Ole Ersoy
r 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, >> > >

RE: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Caldarale, Charles R
> From: Milanez, Marcus [mailto:[EMAIL PROTECTED] > 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

RES: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Milanez, Marcus
What's wrong? Problems with native libraries? -Mensagem original- De: Leon Rosenberg [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 22 de agosto de 2007 12:23 Para: Tomcat Users List Assunto: Re: 20 Tips for Using Tomcat in Production On 8/22/07, Milanez, Marcus <[EMAIL P

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Karel Sedlacek
t.ie/native/) , what do you think? PLEASE DONT! (I won't) Leon > > -Mensagem original- > De: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Enviada em: quarta-feira, 22 de agosto de 2007 10:56 > Para: Tomcat Users List > Assunto: RE: 20 Tips for Using Tomc

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Leon Rosenberg
[mailto:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > > Subject: Re: 20 Tips for Using Tomcat in Production > &g

RES: RES: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Milanez, Marcus
-feira, 22 de agosto de 2007 11:32 Para: Tomcat Users List Assunto: Re: RES: 20 Tips for Using Tomcat in Production Marcus, I'm not sure I understand... Karel At 10:21 AM 8/22/2007, you wrote: >Another tip that could be considered is the use of Tomcat Native >Libraries (http://tomca

Re: RES: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Karel Sedlacek
ECTED] 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:[EMAIL PROTECTED] > Subject: Re: 20 Tips for Using Tomcat in Production > > as far as i know this option is outdated, hence the

RE: [OT] 20 Tips for Using Tomcat in Production

2007-08-22 Thread Hehl, Thomas
ubject: Re: [OT] 20 Tips for Using Tomcat in Production * PGP Signed by an unknown key 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"? ;) (Jus

RES: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Milanez, Marcus
: RE: 20 Tips for Using Tomcat in Production > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > 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

RE: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Karel Sedlacek
Thank you, we are running Windows,... will check the Service properties. At 09:55 AM 8/22/2007, you wrote: > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: Re: 20 Tips for Using Tomcat in Production > > as far as i know this option is outdated, hence the vm automatically

Re: [OT] 20 Tips for Using Tomcat in Production

2007-08-22 Thread Christopher Schultz
-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: G

RE: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > 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 (whic

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Karel Sedlacek
oesn'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 :-) >> > >

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Ronald Klop
urrently 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 <[EMAIL PROTECTED]> 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 Production

2007-08-22 Thread Karel V Sedlacek
> let >> > > me know if there are other steps we need to take here as well. >> > > >> > > thanks, >> > > Kim :-) >> > > >> > > On 8/21/07, Shane Witbeck <[EMAIL PROTECTED]> wrote: >> > >> >> > >> I thought

RES: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Milanez, Marcus
t me know if there are other steps we need to take > here as well. > > thanks, > Kim :-) > > On 8/21/07, Shane Witbeck <[EMAIL PROTECTED]> wrote: >> >> I thought my latest blog post would be of interest to the people on >> this >> list: >>

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Leon Rosenberg
e > > > let > > > me know if there are other steps we need to take here as well. > > > > > > thanks, > > > Kim :-) > > > > > > On 8/21/07, Shane Witbeck <[EMAIL P

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Ben Souther
as well. > > > > thanks, > > Kim :-) > > > > On 8/21/07, Shane Witbeck <[EMAIL PROTECTED]> wrote: > >> > >> I thought my latest blog post would be of interest to the people on this > >> list: > >> > >> > >> h

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Karel V Sedlacek
e are other steps we need to take here as well. > > thanks, > Kim :-) > > On 8/21/07, Shane Witbeck <[EMAIL PROTECTED]> wrote: >> >> I thought my latest blog post would be of interest to the people on this >> list: >> >> >

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Tim Funk
http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Diego Yasuhiko Kurisaki
I agree, i'm not willing to pay the management overhead of putting my shared libraries to the tomcat common lib, unless my gains are very big in terms of memory consumption. I don't really think you should change for another one though, but you can make regards about the cons of that approach. An

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Ben Souther
From: Christopher Schultz > I also agree with David and, uh, David, that #6 is a little dubious. > Yes, moving shared libraries into the common/lib directory will save you > some memory, but it creates a management headache when it comes to > version numbers, WAR packa

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shane, Shane Witbeck wrote: > You can actually use JAVA_OPTS or CATALINA_OPTS to add the options and > the options only apply to JDK 1.5 or above. I don't think the version > of Tomcat matters here. There is a (minor) difference between the two: JAVA

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Shane Witbeck
8/21/07, Shane Witbeck <[EMAIL PROTECTED]> 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 Production

2007-08-21 Thread Kim Albee
hanks, Kim :-) On 8/21/07, Shane Witbeck <[EMAIL PROTECTED]> 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-t

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Shane Witbeck
t; > > > > > > > > Note that you can gain even more performance if you recompile your > > > > > "string concatenation hungry" (d=""+b+"ccc&qu

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Ben Souther
> "string concatenation hungry" (d=""+b+"ccc") support libaries for > > > > jdk 5+ on a multi CPU system. This is because jdk5 uses the > > > > non-synchr

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Shane Witbeck
jdk 4- synchronized > > > StringBuffer. And synchronization over multiple cpu takes a few more > > > cycles than on single CPU machines. > > > > > > > > > > > > En l'instant précis du 21/08/07 14:10, Shane Witbeck s'exprimait en ces > > > t

RES: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Milanez, Marcus
We should create a wiki to accomplish all theses tips Why not? -Mensagem original- De: Ben Souther [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 21 de agosto de 2007 14:46 Para: Tomcat Users List Assunto: Re: 20 Tips for Using Tomcat in Production Tip #8: You tell the users

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Ben Souther
synchronization over multiple cpu takes a few more > > cycles than on single CPU machines. > > > > > > > > En l'instant précis du 21/08/07 14:10, Shane Witbeck s'exprimait en ces > > termes: > > > I thought my latest blog post would be of

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Shane Witbeck
le CPU machines. > > > > En l'instant précis du 21/08/07 14:10, Shane Witbeck s'exprimait en ces > termes: > > 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-

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Shane Witbeck
Chris, Yes I agree that the extent at which #6 is implemented probably depends a lot on the size of the app (namely the number of libraries). There's already a link to the Tomcat original documentation for #3 although I noticed I forgot the link for #2. Thanks for the comments, Shane On 8/21/

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shane, Shane Witbeck wrote: > I thought my latest blog post would be of interest to the people on this list: I like the list. Could you provide references where appropriate? For instance, you reference the Tomcat documentation in point #3, but don't

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread David Smith
s a few more cycles than on single CPU machines. En l'instant précis du 21/08/07 14:10, Shane Witbeck s'exprimait en ces termes: I thought my latest blog post would be of interest to the people on this list: http://www.digi

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Lyallex
e 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@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] &

Re: 20 Tips for Using Tomcat in Production

2007-08-21 Thread David Delbecq
on single CPU machines. En l'instant précis du 21/08/07 14:10, Shane Witbeck s'exprimait en ces termes: > I thought my latest blog post would be of interest to the people on this list: > > http://www.

RES: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Milanez, Marcus
Thank you very much! -Mensagem original- De: Shane Witbeck [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 21 de agosto de 2007 09:10 Para: users@tomcat.apache.org Assunto: 20 Tips for Using Tomcat in Production I thought my latest blog post would be of interest to the people on

20 Tips for Using Tomcat in Production

2007-08-21 Thread Shane Witbeck
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@tomcat.apache.org To