Re: mod_proxy_ajp equivalent for JK_LB_ACTIVATION?

2020-04-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Maybe I can earn myself a beer. >> On 3/6/20 13:44, Rainer Jung wrote: >>> no, the status unfortunately is not available as an Apache env >>> var. > >>> mod_proxy_ajp has a builtin provision for automatic env var >>> forwarding: alle env vars

Re: mod_proxy_ajp equivalent for JK_LB_ACTIVATION?

2020-04-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, https://bz.apache.org/bugzilla/show_bug.cgi?id=64338 For anyone who likes beer. Or whatever you like to drink (within reason) . - -chris On 3/9/20 17:44, Christopher Schultz wrote: > Rainer, > > On 3/6/20 13:44, Rainer Jung wrote: >> Hi Chri

Re: mod_proxy_ajp equivalent for JK_LB_ACTIVATION?

2020-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 3/6/20 13:44, Rainer Jung wrote: > Hi Chris, > > no, the status unfortunately is not available as an Apache env > var. > > mod_proxy_ajp has a builtin provision for automatic env var > forwarding: alle env vars named AJP_SOMETHING will be

Re: mod_proxy_ajp equivalent for JK_LB_ACTIVATION?

2020-03-06 Thread Rainer Jung
Hi Chris, no, the status unfortunately is not available as an Apache env var. mod_proxy_ajp has a builtin provision for automatic env var forwarding: alle env vars named AJP_SOMETHING will be forwarded as request attribute SOMETHING. But I see no easy way of detecting drain mode and setting an

Re: mod_proxy_ajp JSESSIONID and Mime Type

2010-01-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darren, On 1/4/2010 2:10 PM, Darren Salomons wrote: > Since my servlet excepts all types of file types I thought I would just > leverage apache setting the content-type for me. This is a bad assumption: if you want your servlet to serve files of typ

Re: mod_proxy_ajp JSESSIONID and Mime Type

2010-01-04 Thread Konstantin Kolinko
2010/1/4 Darren Salomons : > > I'm using Tomcat 6.0.18 with apache 2.2.11. > > So this isn't a normal pass through of files from tomcat to apache.  I > use a URL such as http://mydomain.com/servlet/stylesheet.css to execute > a servlet that would dynamically create the file "stylesheet.css". > Sinc

Re: mod_proxy_ajp JSESSIONID and Mime Type

2010-01-04 Thread Darren Salomons
I'm using Tomcat 6.0.18 with apache 2.2.11. So this isn't a normal pass through of files from tomcat to apache.  I use a URL such as http://mydomain.com/servlet/stylesheet.css to execute a servlet that would dynamically create the file "stylesheet.css".   Since my servlet excepts all types of f

Re: mod_proxy_ajp JSESSIONID and Mime Type

2010-01-04 Thread Konstantin Kolinko
2010/1/4 Darren Salomons : > I am having an issue with Apache 2/mod_proxy_ajp and Tomcat 6.  I have > monitored all the headers coming back from apache for various scenarios > and the only scenario that I am having a problem with is when I have a > JSESSIONID appended to the URL.  When the JSESSION

Re: mod_proxy_ajp (2.2.13) + Tomcat 6.0.20 - APR does not understand this error code: proxy: read response failed

2009-10-30 Thread Damian Traverso
Hi, we have one Apache-2.2.13 running mod_proxy_ajp + mod_proxy_balancer, connected to (3) Tomcat-6.0.20 instances under Fedora release 8. We are experiencing some issues with high CPU load on the Tomcat side, and Apache starts logging errors like this [Fri Oct 30 14:47:43 2009] [error] (70007)The

RE: Mod_proxy_ajp and App Returing Generic Files For Download

2008-07-17 Thread Plana, Richard
Further to this, it seems that it only happens when IE6 is the browser. Firefox downloads the file properly and allows one to save it. IE6, OTOH, prompts to save and when it actually tries to download, I guess the connection has been closed. Help greatly appreciated. -- Richi Plana > -Origi

Re: mod_proxy_ajp & TIME_WAIT

2007-11-21 Thread Jim Jagielski
The below is the workaround for 2.2.6... 2.2.7 contains the actual fix that negates the need for the workaround :) On Nov 21, 2007, at 4:34 AM, David Cassidy wrote: That would be excellent ! Is the only change - as far as mod_proxy_ajp is concerned the one below or is that a work around for

Re: mod_proxy_ajp & TIME_WAIT

2007-11-21 Thread David Cassidy
That would be excellent ! Is the only change - as far as mod_proxy_ajp is concerned the one below or is that a work around for 2.2.6 ? Thanks D On Tue, 2007-11-20 at 14:39 -0500, Jim Jagielski wrote: > I'm hoping to get it out the top of December :) > > On Nov 20, 2007, at 3:57 AM, David Cass

Re: mod_proxy_ajp & TIME_WAIT

2007-11-20 Thread Jim Jagielski
I'm hoping to get it out the top of December :) On Nov 20, 2007, at 3:57 AM, David Cassidy wrote: Hi Jim !!! This is fantastic news ! When is 2.2.7 going to be released ? :) Many many thanks David On Mon, 2007-11-19 at 15:27 -0500, Jim Jagielski wrote: 2.2.6 has a nasty bug were AJP con

Re: mod_proxy_ajp & TIME_WAIT

2007-11-20 Thread David Cassidy
Hi Jim !!! This is fantastic news ! When is 2.2.7 going to be released ? :) Many many thanks David On Mon, 2007-11-19 at 15:27 -0500, Jim Jagielski wrote: > 2.2.6 has a nasty bug were AJP connections are being closed > when they shouldn't. 2.2.7 will fix that. In the meantime, > trying build

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread Jim Jagielski
2.2.6 has a nasty bug were AJP connections are being closed when they shouldn't. 2.2.7 will fix that. In the meantime, trying building httpd with USE_ALTERNATE_IS_CONNECTED defined as 0 (proxy_util.c). On Nov 19, 2007, at 9:07 AM, Rainer Jung wrote: Hi David, TIME_WAIT is a normal TCP state af

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread David Cassidy
OK I'll give that a go ! Thanks Rainer for your help D On Mon, 2007-11-19 at 16:09 +0100, Rainer Jung wrote: > David Cassidy wrote: > > Hi Rainer, > > > > I've set the ttl to 120 > > re-run the last test with 30 concurrent connections > > > > 1 LISTEN > > 25 CLOSE_WAIT > > 26

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread Rainer Jung
David Cassidy wrote: Hi Rainer, I've set the ttl to 120 re-run the last test with 30 concurrent connections 1 LISTEN 25 CLOSE_WAIT 26 FIN_WAIT2 104 ESTABLISHED 924 TIME_WAIT Not made too much difference. But as the test is only taking 20 secs max none of the connecti

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread David Cassidy
Hi Rainer, I've set the ttl to 120 re-run the last test with 30 concurrent connections 1 LISTEN 25 CLOSE_WAIT 26 FIN_WAIT2 104 ESTABLISHED 924 TIME_WAIT Not made too much difference. But as the test is only taking 20 secs max none of the connections should have reached

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread Rainer Jung
David Cassidy wrote: Hi ! This is using worker rather than prefork - apache 2.2.6 as comes with fedora 7. I've changed /usr/sbin/httpd to be /usr/sbin/httpd.worker. If I make a 1000 requests with ab with keep alive to apache - eg ab -k -n 1000 then I get alot of connections from apache to tomc

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread David Cassidy
Hi ! This is using worker rather than prefork - apache 2.2.6 as comes with fedora 7. I've changed /usr/sbin/httpd to be /usr/sbin/httpd.worker. If I make a 1000 requests with ab with keep alive to apache - eg ab -k -n 1000 then I get alot of connections from apache to tomcat that are in TIME_WAI

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread Rainer Jung
Hi David, TIME_WAIT is a normal TCP state after a connection was successfully closed. Only one side of the connection goes into TIME_WAIT, namely the side that sent the first FIN. So since you've got httpd and Tomcat on the same server, you first need to find out, which side of the conection

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread Jim Jagielski
Is this worker or prefork MPM? On Nov 15, 2007, at 4:03 AM, David Cassidy wrote: Guys, I'm using mod_proxy in apache 2.2.6 with the ajp connector in tomcat. apache config - BalancerMember ajp://localhost:8009 route=server1 min=0 smax=1000 max=1000 keepalive=On

Re: mod_proxy_ajp with multiple ajp ports

2006-07-14 Thread Bill Barker
"Pid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Christopher Schultz wrote: >> Bill, >> >> Thanks for the response. >> >>> I've seen some talk on [EMAIL PROTECTED] about implementing support for >>> regexps in mod_proxy, but I don't think anything has happened yet. >> >> It

Re: mod_proxy_ajp with multiple ajp ports

2006-07-14 Thread Pid
Christopher Schultz wrote: > Bill, > > Thanks for the response. > >> I've seen some talk on [EMAIL PROTECTED] about implementing support for >> regexps in mod_proxy, but I don't think anything has happened yet. > > It doesn't appear to be a question of regular expressions, since the > elemen

Re: mod_proxy_ajp with multiple ajp ports

2006-07-14 Thread Christopher Schultz
Bill, Thanks for the response. > I've seen some talk on [EMAIL PROTECTED] about implementing support for > regexps in mod_proxy, but I don't think anything has happened yet. It doesn't appear to be a question of regular expressions, since the element can use regular expressions. The problem is

Re: mod_proxy_ajp with multiple ajp ports

2006-07-12 Thread Bill Barker
I've seen some talk on [EMAIL PROTECTED] about implementing support for regexps in mod_proxy, but I don't think anything has happened yet. What you want is something like: RewriteRule /my/path/.*\.whatever\.else ajp://localhost:8285/my/path/$1.whatever.else [P] Check the documentation for mod

Re: mod_proxy_ajp

2005-12-01 Thread Bill Barker
"Bill Barker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Joseph Shraibman" wrote in message > news:[EMAIL PROTECTED] >> Does anybody have any idea how to use mod_proxy_ajp? The documentation >> page http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html just talks >> a

Re: mod_proxy_ajp

2005-12-01 Thread hv @ Fashion Content
I think its a port of mod_jk, which could need a bit of love :) I am really hoping that mod_proxy_ajp grows solid, as I am sure it will be a great improvement. "Joseph Shraibman" skrev i en meddelelse news:[EMAIL PROTECTED] > Does anybody have any idea how to use mod_proxy_ajp? The documentat

Re: mod_proxy_ajp

2005-12-01 Thread Bill Barker
"Joseph Shraibman" wrote in message news:[EMAIL PROTECTED] > Does anybody have any idea how to use mod_proxy_ajp? The documentation > page http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html just talks > about the ajp protocol. # Forward all to myapp ProxyPass ajp:/localhost:8009/myapp