Re: pure tomcat failover (no loadbalacing)

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 5/2/2011 12:20 PM, Felix Schumacher wrote: > That would be nice, if it would work, but sadly it doesn't. > > redirect is only alowed for a sub-worker, which is referenced indirectly > by a load balancer group. > See http://tomcat.apache.or

Re: pure tomcat failover (no loadbalacing)

2011-05-02 Thread Felix Schumacher
Am Montag, den 02.05.2011, 10:06 -0400 schrieb Christopher Schultz: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Felix, > > On 4/30/2011 5:09 AM, Felix Schumacher wrote: > > The original req, as I understood it: > > > > tomcat1 > > \-- /abc* (active) > > |-- /def* (passive) > > >

Re: pure tomcat failover (no loadbalacing)

2011-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 4/30/2011 5:09 AM, Felix Schumacher wrote: > The original req, as I understood it: > > tomcat1 > \-- /abc* (active) > |-- /def* (passive) > > tomcat2 > \-- /abc* (passive) > |-- /def* (active) > > If one of those tomcat server

Re: pure tomcat failover (no loadbalacing)

2011-04-30 Thread Felix Schumacher
On Fri, 29 Apr 2011 18:39:09 -0400, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 4/28/2011 12:44 PM, Felix Schumacher wrote: "Christopher Schultz" schrieb: Felix and Guillaume, I think you guys are working too hard for this. Isn't it as simple as using

Re: pure tomcat failover (no loadbalacing)

2011-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 4/28/2011 12:44 PM, Felix Schumacher wrote: > "Christopher Schultz" schrieb: > > Felix and Guillaume, > >> I think you guys are working too hard for this. Isn't it as simple as >> using a redirect from each worker to the other, with no cl

Re: pure tomcat failover (no loadbalacing)

2011-04-28 Thread Guillaume Favier
Hi Felix, To keep you posted, your solution is working smoothly, the error was coming from redirect set to the cluster instead of the jvmRoute. My point (and for now it is a pure theorical question as I don't have the need) was If I want to add a third or fourth server (for load reason). I will h

Re: pure tomcat failover (no loadbalacing)

2011-04-28 Thread Felix Schumacher
"Christopher Schultz" schrieb: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Felix and Guillaume, > >I think you guys are working too hard for this. Isn't it as simple as >using a redirect from each worker to the other, with no clustering or >anything like that? You don't even need to set

Re: pure tomcat failover (no loadbalacing)

2011-04-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix and Guillaume, I think you guys are working too hard for this. Isn't it as simple as using a redirect from each worker to the other, with no clustering or anything like that? You don't even need to set jvmRoute, etc. since there's no cluster. -

Re: pure tomcat failover (no loadbalacing)

2011-04-28 Thread Felix Schumacher
On Wed, 27 Apr 2011 21:15:36 +0100, Guillaume Favier wrote: On Wed, Apr 27, 2011 at 8:55 PM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: Am Mittwoch, den 27.04.2011, 19:20 +0100 schrieb Guillaume Favier: > Felix, > > Dis you check my workaround ? > > > On Wed, Apr 27, 2011 at 7

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Guillaume Favier
On Wed, Apr 27, 2011 at 8:55 PM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: > Am Mittwoch, den 27.04.2011, 19:20 +0100 schrieb Guillaume Favier: > > Felix, > > > > Dis you check my workaround ? > > > > > > On Wed, Apr 27, 2011 at 7:01 PM, Felix Schumacher < > > felix.schumac...@i

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Felix Schumacher
Am Mittwoch, den 27.04.2011, 19:20 +0100 schrieb Guillaume Favier: > Felix, > > Dis you check my workaround ? > > > On Wed, Apr 27, 2011 at 7:01 PM, Felix Schumacher < > felix.schumac...@internetallee.de> wrote: > > > Am Mittwoch, den 27.04.2011, 10:21 +0200 schrieb Felix Schumacher: > > > On W

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Guillaume Favier
Felix, Dis you check my workaround ? On Wed, Apr 27, 2011 at 7:01 PM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: > Am Mittwoch, den 27.04.2011, 10:21 +0200 schrieb Felix Schumacher: > > On Wed, 27 Apr 2011 09:58:45 +0200, Felix Schumacher wrote: > > > On Tue, 26 Apr 2011 21:24

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Felix Schumacher
Am Mittwoch, den 27.04.2011, 10:21 +0200 schrieb Felix Schumacher: > On Wed, 27 Apr 2011 09:58:45 +0200, Felix Schumacher wrote: > > On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote: > >> Thanks for your answer Felix, > > Well, after rethinking my original answer, I think you will have to

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Guillaume Favier
Hi Felix, That's strange, it doesn't try to connect to the c1t2 worker, here is the log file. [Wed Apr 27 11:45:33 2011] [4129:47406689800960] [info] jk_open_socket::jk_connect.c (626): connect to 127.0.0.1:9001 failed (errno=111) [Wed Apr 27 11:45:33 2011] [4129:47406689800960] [info] ajp_conne

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Felix Schumacher
On Wed, 27 Apr 2011 09:58:45 +0200, Felix Schumacher wrote: On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote: Thanks for your answer Felix, Well, after rethinking my original answer, I think you will have to define two clusters: worker.list=cluster1,cluster2 ... worker.c2t2.ty

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Guillaume Favier
Thanks Felix, that might do the trick. I'll test it and get back to you. nice hack BTW. gui On Wed, Apr 27, 2011 at 8:58 AM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: > On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote: > >> Thanks for your answer Felix, >> > Well, aft

Re: pure tomcat failover (no loadbalacing)

2011-04-27 Thread Felix Schumacher
On Tue, 26 Apr 2011 21:24:16 +0100, Guillaume Favier wrote: Thanks for your answer Felix, Well, after rethinking my original answer, I think you will have to define two clusters: worker.list=cluster1,cluster2 where each cluster worker has two distinct members worker.cluster1.type=lb wo

Re: pure tomcat failover (no loadbalacing)

2011-04-26 Thread Guillaume Favier
Thanks for your answer Felix, On Tue, Apr 26, 2011 at 8:36 PM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: > On Mon, 25 Apr 2011 09:40:59 +0100, Guillaume Favier wrote: > >> Hi, >> >> I have 2 tomcat 5.5 server. Each of them handling a set (50+) of third >> party >> webapps name

Re: pure tomcat failover (no loadbalacing)

2011-04-26 Thread Felix Schumacher
On Mon, 25 Apr 2011 09:40:59 +0100, Guillaume Favier wrote: Hi, I have 2 tomcat 5.5 server. Each of them handling a set (50+) of third party webapps name /ABC* and /DEF*. Each of these webapp is quite memory consumming when started (more than 300M). I would like all connection to ABC* webapp

Re: pure tomcat failover (no loadbalacing)

2011-04-26 Thread Guillaume Favier
Sorry for the double post, but I didn't see any remarks on this thread. This a tricky question (at least for me), and I am a bit stuck here. thanks gui Hi, > > I have 2 tomcat 5.5 server. Each of them handling a set (50+) of third > party webapps name /ABC* and /DEF*. > Each of these webapp is q

pure tomcat failover (no loadbalacing)

2011-04-25 Thread Guillaume Favier
Hi, I have 2 tomcat 5.5 server. Each of them handling a set (50+) of third party webapps name /ABC* and /DEF*. Each of these webapp is quite memory consumming when started (more than 300M). I would like all connection to ABC* webapps be handled by tomcat server 1, and connection to webapps DEF* to