Re: tomcat in production

2007-11-16 Thread Gregor Schneider
Hi Chuck, On Nov 15, 2007 3:55 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Markus Schönhaber [mailto:[EMAIL PROTECTED] > > Subject: Re: tomcat in production > > > > AFAICT the main advantage of APR wrt static content is the possibility > > to

Re: tomcat in production

2007-11-15 Thread Markus Schönhaber
Caldarale, Charles R wrote: >> From: Markus Schönhaber [mailto:[EMAIL PROTECTED] >> >> AFAICT the main advantage of APR wrt static content is the possibility >> to use sendfile. > > The pure Java NIO connector also supports sendfile. I have successfully managed to overlook that. > Still haven'

RE: tomcat in production

2007-11-15 Thread Caldarale, Charles R
> From: Markus Schönhaber [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat in production > > AFAICT the main advantage of APR wrt static content is the possibility > to use sendfile. The pure Java NIO connector also supports sendfile. Still haven't seen any actual performan

Re: tomcat in production

2007-11-15 Thread Markus Schönhaber
Caldarale, Charles R schrieb: > I suspect the previous posts on this subject are slightly confused. > AFAIK, APR doesn't know or care about the type of content - it's simply > a more efficient mechanism for keeping multiple connections open > simultaneously without tying up a thread for each. It

RE: tomcat in production

2007-11-14 Thread Caldarale, Charles R
> From: Lionel Crine [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat in production > > My tomcat serves static content without APR. > is there a big performance increase serving static pages with > APR enabled ? I suspect the previous posts on this subject are slightly co

Re: tomcat in production

2007-11-14 Thread Lionel Crine
HI, I'm wondering something. My tomcat serves static content without APR. is there a big performance increase serving static pages with APR enabled ? Thanks in advance. Lionel Peter Stavrinides wrote: Thanks for this response Gregor, I had assumed this was the case, just needed the confirmati

Re: tomcat in production

2007-11-13 Thread Peter Stavrinides
Thanks for this response Gregor, I had assumed this was the case, just needed the confirmation. Peter Gregor Schneider wrote: Hi Peter, when you're using Apache HTTP in front to serve static content and Tomcat is serving JSP / Servlets only, using the APR won't give you any advantage (AFAIC).

Re: tomcat in production

2007-11-13 Thread Gregor Schneider
Hi Peter, when you're using Apache HTTP in front to serve static content and Tomcat is serving JSP / Servlets only, using the APR won't give you any advantage (AFAIC). However, some ppl are using Tomcat only (running on port 80 / 443 with f.e. JSVC): Then, according to my brain-cells, the APR wil

Re: tomcat in production

2007-11-13 Thread Peter Stavrinides
I am just wandering about when to use the APR and when not to, especially for those of us using Apache as a front end (although in my case this is done solely to integrate perl and java apps into a common namespace) Gregor Schneider wrote: Take a look at the Apache Portable Runtime: It will

Re: tomcat in production

2007-11-12 Thread Gregor Schneider
Take a look at the Apache Portable Runtime: It will increase Tomcat's performance regarding static content sigificantly: http://tomcat.apache.org/tomcat-6.0-doc/apr.html Cheers Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key av

Re: tomcat in production

2007-11-12 Thread Pierre Goupil
blog entry on this list, which we have long discussed : http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-production/ HTH, Pierre 2007/11/12, abdul razack <[EMAIL PROTECTED]>: > > Hi, > > we have web application running in iplanet server. > we want same w

tomcat in production

2007-11-11 Thread abdul razack
Hi, we have web application running in iplanet server. we want same web application running on Tomcat in production. Is there any separate tomcat version for Production. If so, please give me the link to dowanload. Is it ok if I download any version of tomcat from http

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
Using Tomcat in Production 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

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