Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Milan Tomic
> Try posting logs, netstat, server-status, etc to illustrate the current > problem. What does this log entry means: "proxy: AJP: disabled connection for (localhost)" Does it affect both Tomcats since port is not specified? TIA, Milan --

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Eric Covener
On Thu, Mar 11, 2010 at 9:12 AM, Milan Tomic wrote: > > >> You can't tell Apache to use one type of reverse proxy until it stops >> working then switch to another type. > > I wasn't trying this. My problem is: I have HTTPD as front end and 2 Tomcats > running different apps behind HTTPD. When one

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Milan Tomic
> You can't tell Apache to use one type of reverse proxy until it stops > working then switch to another type. I wasn't trying this. My problem is: I have HTTPD as front end and 2 Tomcats running different apps behind HTTPD. When one Tomcat runs out of memory, HTTPD stops working and doens't f

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Eric Covener
> This is why I would like to try to add JkMount directive, so HTTPD will use > workers and if one worker stops others will continue working. Does this make > any sense? How can I do this? > You can't tell Apache to use one type of reverse proxy until it stops working then switch to another type.

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Milan Tomic
> It sounds like you possibly want to configure a balancer, maybe a > hot-standby. You might want to look at implementing the ProxyPass > 'ping' parameter for checking for hung or busy Tomcats. Sample > balancer config, etc. is all in the docs:- > http://httpd.apache.org/docs/2.2/mod/mod_proxy.

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Philip Wigg
> Thank you very much for your help. My problem is that one Tomcat runs out of > resources and then HTTPD also stop forwarding requests to other Tomcats. I'm > using only ProxyPass, without JkMount: > > ProxyPass /Context1 ajp://localhost:8008/Context1 > ProxyPass /Context2 ajp://localhost:8009/C

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Milan Tomic
Sent: Thu, March 11, 2010 1:02:49 PM Subject: Re: [us...@httpd] Worker inside ProxyPass On 11 March 2010 11:28, Milan Tomic wrote: > > I have in my htpd.conf: > > > ProxyPass /Context1 ajp://localhost:8008/Context1 > ProxyPass /Context2 ajp://localhost:8008/Context2 > > >

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Philip Wigg
On 11 March 2010 11:28, Milan Tomic wrote: > > I have in my htpd.conf: > > > ProxyPass /Context1 ajp://localhost:8008/Context1 > ProxyPass /Context2 ajp://localhost:8008/Context2 > > > if I say: > > JkMount /Context1 worker1 > JkMount /Context2 worker2 > > Is this OK? This means /Context1 will b

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Milan Tomic
can use JkMount together with ProxyPass as above? Thank you in advance, Milan - Original Message From: Milan Tomic To: users@httpd.apache.org Sent: Thu, March 11, 2010 11:21:34 AM Subject: [us...@httpd] Worker inside ProxyPass Hi, Some help needed here... Is it possible somehow to

[us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Milan Tomic
Hi, Some help needed here... Is it possible somehow to specify which worker will be used by which context specified with ProxyPass directive? Thank you in advance, Milan - The official User-To-User support forum of t