Re: mod_jk replacement?

2007-02-27 Thread Pid
ProxyPass doesn't accept wildcards like this. You can either Proxy a complete path, and 'unproxy' the ones you don't need: ProxyPass /scripts/ ! # exclamation mark == 'not' ProxyPass /images/ ! # exclamation mark == 'not' ProxyPass /

Re: mod_jk replacement?

2007-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raj, Raj Mettai wrote: how to put wildcards into ProxyPass, for example if I want to send only jsp requests to tomcat and not html like below. ProxyPass /*.jsp ajp://127.0.0.1:8009/ the above config is not working, I have jsp files spread

RE: mod_jk replacement?

2007-02-26 Thread Raj Mettai
Hi, how to put wildcards into ProxyPass, for example if I want to send only jsp requests to tomcat and not html like below. ProxyPass /*.jsp ajp://127.0.0.1:8009/ the above config is not working, I have jsp files spread across multiple folders on tomcat and the same folder structure on

RE: mod_jk replacement?

2007-02-02 Thread David Rodríguez Fernández
@tomcat.apache.org Asunto: RE: mod_jk replacement? I just tried it with the mod_proxy and mod_proxy_http modules which are indeed available for Apache 2.0.59, and it works fine connecting to backend Tomcat web service using the http protocol and port 8080. I only needed one line in Apache's

RE: mod_jk replacement?

2007-02-02 Thread JNeuhoff
the tomcat's load in 90%. -Mensaje original- De: JNeuhoff [mailto:[EMAIL PROTECTED] Enviado el: jueves, 25 de enero de 2007 14:38 Para: users@tomcat.apache.org Asunto: RE: mod_jk replacement? I just tried it with the mod_proxy and mod_proxy_http modules which are indeed available

Re: mod_jk replacement?

2007-02-02 Thread Mladen Turk
JNeuhoff wrote: The same here. Most of the static content (such as *.png) is being served by the Apache frontend, and only requests for to our web service are configured with the ProxPass directives. I had to use the ProxyPassReverse, too: ProxyPreserveHost On ProxyPass /ohpr/

RE: mod_jk replacement?

2007-01-25 Thread JNeuhoff
Users List Asunto: Re: mod_jk replacement? On 1/22/07, David Rodríguez Fernández [EMAIL PROTECTED] wrote: Recently i'm using mod_proxy_ajp, as mod_jk replacement with apache. The OP asked about Apache httpd 2.0.x, for which mod_proxy_ajp is not available (introduced in 2.2.x). And yes

Re: mod_jk replacement?

2007-01-24 Thread JNeuhoff
I have repeated the rapid click test after I updated the connectionTimeout=60, still getting the -53 and also -54 errors. This time I have set log levels to debug. I'll send you a separate e-mail where you can download them when you are back on Friday. Again thank you for your help so far.

RE: mod_jk replacement?

2007-01-23 Thread David Rodríguez Fernández
Para: Tomcat Users List Asunto: Re: mod_jk replacement? On 1/22/07, David Rodríguez Fernández [EMAIL PROTECTED] wrote: Recently i'm using mod_proxy_ajp, as mod_jk replacement with apache. The OP asked about Apache httpd 2.0.x, for which mod_proxy_ajp is not available (introduced in 2.2.x

Re: mod_jk replacement?

2007-01-23 Thread JNeuhoff
Whenever you have connection pool setup in mod_jk it means you don't have constant connections any more. The connection pool will maintain the connections and close them by some rule (size). Now, having that you *must* have connectionTimeout=6 in server.xml for the AJP connector so

Re: mod_jk replacement?

2007-01-23 Thread Mladen Turk
JNeuhoff wrote: The web service still receives requests and responds normally, yet mod_jk now always comes up with this in its mod_jk.log: Increase the connection pool from 10 to 50 and see what happens. Regards, Mladen. -

Re: mod_jk replacement?

2007-01-23 Thread Rainer Jung
OK, one small error or typo in communication: connection timeout on mod_jk side is in seconds, on tomcat side is in milliseconds. So Mladens suggestion had a missing trailing 0 to make the params on the two sides fit. I think he meant connectionTimeout=60 to make it fit the 600 on the mod_jk

Re: mod_jk replacement?

2007-01-23 Thread JNeuhoff
connection timeout on mod_jk side is in seconds, on tomcat side is in milliseconds. So Mladens suggestion had a missing trailing 0 to make the params on the two sides fit. I think he meant connectionTimeout=60 to make it fit the 600 on the mod_jk side. Thanks, you are right, there was a

Re: mod_jk replacement?

2007-01-23 Thread Rainer Jung
JNeuhoff schrieb: connection timeout on mod_jk side is in seconds, on tomcat side is in milliseconds. So Mladens suggestion had a missing trailing 0 to make the params on the two sides fit. I think he meant connectionTimeout=60 to make it fit the 600 on the mod_jk side. Thanks, you are

Re: mod_jk replacement?

2007-01-23 Thread JNeuhoff
Do I remember correctly, that Apache and Tomcat are on the same machine? Is there a firewall on this machine? They are both on the same machine. Apache is listening to a dedicated IP-address, on port 80, while Tomcat is configured to using localhost, and listens to port 8080 (http) and 8009

RE: mod_jk replacement?

2007-01-22 Thread David Rodríguez Fernández
Recently i'm using mod_proxy_ajp, as mod_jk replacement with apache. I don't have this in an production environment, but along this week I plan to do it. This is an extract of my apache config: ProxyPass /app/img/ ! ProxyPass /app/js/ ! ProxyPass /app/doc/ ! ProxyPass /app/css/ !

Re: mod_jk replacement?

2007-01-22 Thread Hassan Schroeder
On 1/22/07, David Rodríguez Fernández [EMAIL PROTECTED] wrote: Recently i'm using mod_proxy_ajp, as mod_jk replacement with apache. The OP asked about Apache httpd 2.0.x, for which mod_proxy_ajp is not available (introduced in 2.2.x). And yes, I've used it successfully in production on Linux

Re: mod_jk replacement?

2007-01-22 Thread JNeuhoff
Hmm, this might be a good reason to upgrade to Apache 2.2.x then. Currently, the mod_jk 1.2.20 in conjunction with Apache 2.0.59 is not suitable for a production system running Windows 2003, and unfortunately we don't have sysadmins for Linux or Unix, hence I am stuck with Windows 2003 as the

Re: mod_jk replacement?

2007-01-22 Thread Mladen Turk
JNeuhoff wrote: Is there another connector software available ... http://www.nabble.com/Apache-mod_jk-memory-leak--tf3023318.html There are two major things why you can observe so called 'leak'. When connecting Apache Httpd and Tomcat via mod_jk the major thing you have to take into account

Re: mod_jk replacement?

2007-01-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J, JNeuhoff wrote: Hmm, this might be a good reason to upgrade to Apache 2.2.x then. Currently, the mod_jk 1.2.20 in conjunction with Apache 2.0.59 is not suitable for a production system running Windows 2003, and unfortunately we don't have

Re: mod_jk replacement?

2007-01-22 Thread JNeuhoff
Thank for your explanations. I've read all your posts to this thread and Apache-mod_jk-memory-leak, and you didn't post the server.xml config for AJP/1.3 connector, neither the essential httpd.conf directives. Here are connection-related directives from the the httpd.conf we have been using

Re: mod_jk replacement?

2007-01-22 Thread Mladen Turk
JNeuhoff wrote: Thank for your explanations. If any part closes this (AJP) connection you will observe 'memory leaak', meaning thread will stay open without the clue the other part closed the connection. Maybe I mis-understood the meaning of the timeout settings because I always thought

Re: mod_jk replacement?

2007-01-21 Thread Hassan Schroeder
On 1/21/07, JNeuhoff [EMAIL PROTECTED] wrote: Can't help on the Windows/mod_jk issue because I haven't used either for quite some time but... Alternatively, we are thinking of running a standalone Tomcat in which case we'd find to find a way of mapping some web-enabled directories with static