Re: concurrent connections with mod_jk/apache/tomcat

2009-06-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 6/7/2009 7:17 PM, Jason Joseph wrote: > > Rainer Jung wrote: >> Be careful to secure access to WEB-INF and META-INF. > Yup, Ive got this in there, one for META-INF too... > > >deny from all > I highly recom

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/7/2009 3:41 AM, André Warnier wrote: > Jason Joseph wrote: > ... > >> Yes all static files are being served by Apache. No they aren't being >> loaded from the document root they are actually being loaded from >> within our application war

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 6/5/2009 5:34 PM, Jason Joseph wrote: > I think I have figured it out though, I just realized > I have mod_deflate enabled for Apache. That was my suspicion, but I wanted to see how the other issues played-out. > Would that apply to data c

Re: Re: concurrent connections with mod_jk/apache/tomcat

2009-06-07 Thread Jason Joseph
Rainer Jung wrote: Be careful to secure access to WEB-INF and META-INF. Yup, Ive got this in there, one for META-INF too... deny from all Thanks... Regards, Rainer - To unsubscribe, e-mai

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-07 Thread Rainer Jung
On 07.06.2009 18:46, Jason Joseph wrote: The previously send log files show, that those .png requests are not forwarded to Tomcat. So what is actually answering them? Apache web server directly? Did you put them into the DocumentRoot? That should be much faster, than what you see. Andre - Web

RE: concurrent connections with mod_jk/apache/tomcat

2009-06-07 Thread Caldarale, Charles R
> From: Jason Joseph [mailto:jjos...@keystreams.com] > Subject: Re: concurrent connections with mod_jk/apache/tomcat > > Alias /WebApp_ID/ > "/etc/local/WebSphere/repository/default/MyOwnBriefcase- > 0.0.1/1244286355278/MyOwnBriefcase-0.0.1-12.war/ That's a directory

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-07 Thread Jason Joseph
The previously send log files show, that those .png requests are not forwarded to Tomcat. So what is actually answering them? Apache web server directly? Did you put them into the DocumentRoot? That should be much faster, than what you see. Andre - Websphere has a component which helps you s

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-07 Thread André Warnier
Jason Joseph wrote: ... Yes all static files are being served by Apache. No they aren't being loaded from the document root they are actually being loaded from within our application war. That I do not understand. It seems contradictory. Or, to put it another way, how do you manage that ? --

Re: Re: concurrent connections with mod_jk/apache/tomcat

2009-06-06 Thread Jason Joseph
Rainer Jung wrote: The difference is obviously how the bunch of pictures is handled, that were retrieved close to the end. Those images - I suppose - are static content. They are very small. So needing 2 seconds to serve such an image is much to long. The previously send log files show, th

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 06.06.2009 02:05, Rainer Jung wrote: > On 06.06.2009 01:35, Jason Joseph wrote: >> Rainer Jung wrote: JkOptions +FlushHeader +FlushPackets >>> in order to make the flush also effective for httpd. >>> >>> >> Just realized I didn't disable caching before I did that last test, >>

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 06.06.2009 01:35, Jason Joseph wrote: > > Rainer Jung wrote: >>> JkOptions +FlushHeader +FlushPackets >>> >> >> in order to make the flush also effective for httpd. >> >> > Just realized I didn't disable caching before I did that last test, > heres the image with caching disabled. > >

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 05.06.2009 23:34, Jason Joseph wrote: > Rainer Jung wrote: >> On 05.06.2009 22:04, Christopher Schultz wrote: >> >>> Chuck, >>> >>> On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: >>> >>>>> From: André Warnier [mailto:a...

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread André Warnier
So it seems I put my foot (feet ?) in my mouth about the single browser connection. The rest of what I wrote is generally true though, just consider two connnections instead of one then (per window I suppose, although I'm not sure of that either).

Re: Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Jason Joseph
Rainer Jung wrote: JkOptions +FlushHeader +FlushPackets in order to make the flush also effective for httpd. Just realized I didn't disable caching before I did that last test, heres the image with caching disabled. http://207.7.102.90/~thecorp/apache-ajp-withflush-nocache.jpg Its

Re: Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Jason Joseph
Rainer Jung wrote: On 05.06.2009 22:04, Christopher Schultz wrote: Chuck, On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: concurrent connections with mod_jk/apache/tomcat The only time when a browser would fire off

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 05.06.2009 22:04, Christopher Schultz wrote: > Chuck, > > On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: >>> From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: concurrent >>> connections with mod_jk/apache/tomcat >>> >>> The only tim

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I just noticed something else: the two firebug examples provided in the OP have wildly differing primary response sizes: the direct-to-Tomcat one has a 16KiB response while the via-httpd response is a mere 4KiB. Jason, can you provide two sample

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: concurrent >> connections with mod_jk/apache/tomcat >> >> The only time when a browser would fire off &qu

RE: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: concurrent connections with mod_jk/apache/tomcat > > The only time when a browser would fire off "simultaneous" > requests, is if there were several windows or frames open, > each making its own connecti

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread André Warnier
Jason Joseph wrote: Christopher Schultz wrote: .. lots of things .. I can't imagine that MaxRequestsPerChild would contribute to this problem. Maybe if you had MaxRequestPerChild set to 1 I might believe it, but you have it set to "0" which means "children never die". Wouldn't MaxRequestPer

RE: Re: concurrent connections with mod_jk/apache/tomcat

2009-06-04 Thread Caldarale, Charles R
> From: Jason Joseph [mailto:jjos...@keystreams.com] > Subject: Re: Re: concurrent connections with mod_jk/apache/tomcat > > after reading things online I thought the best practice for production > environments was for tomcat to handle dynamic requests and apache to > handle sta

Re: Re: concurrent connections with mod_jk/apache/tomcat

2009-06-04 Thread Jason Joseph
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 6/4/2009 5:06 PM, Jason Joseph wrote: I am currently in development of an app which we are testing through tomcat6 (websphere specifically). Now that we are moving to production we wanted to use apache (Apach

RE: concurrent connections with mod_jk/apache/tomcat

2009-06-04 Thread Caldarale, Charles R
> From: Jason Joseph [mailto:jjos...@keystreams.com] > Subject: concurrent connections with mod_jk/apache/tomcat > > I am currently in development of an app which we are testing through > tomcat6 (websphere specifically). Which is it - Tomcat or WebSphere? > we wanted to

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 6/4/2009 5:06 PM, Jason Joseph wrote: > I am currently in development of an app which we are testing through > tomcat6 (websphere specifically). Now that we are moving to production > we wanted to use apache (Apache 2.2.8) to serve up static

concurrent connections with mod_jk/apache/tomcat

2009-06-04 Thread Jason Joseph
First time posting on the tomcat list so bear with me if this doesn't make any sense :) I am currently in development of an app which we are testing through tomcat6 (websphere specifically). Now that we are moving to production we wanted to use apache (Apache 2.2.8) to serve up static content