RE: jvmRoute generation

2011-08-25 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Thursday, August 25, 2011 10:29 AM > To: Tomcat Users List > Subject: Re: jvmRoute generation > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jeffr

Re: jvmRoute generation

2011-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 8/25/2011 10:05 AM, Jeffrey Janner wrote: > Say, anybody know a good reference book/website on Tomcat > clustering and/or load-balancing that goes into all these possible > permutations Mark is talking about? > > I always thought a really

RE: jvmRoute generation

2011-08-25 Thread Jeffrey Janner
e one. > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Wednesday, August 24, 2011 10:15 AM > To: Tomcat Users List > Subject: Re: jvmRoute generation > > On 24/08/2011 15:07, Christopher Schultz wrote: > > Jeffrey, > > > > On 8/24

Re: jvmRoute generation

2011-08-24 Thread Andrew Todd
On Wed, Aug 24, 2011 at 2:44 PM, Christopher Schultz wrote: > If you look at the stock conf/server.xml, it says: > Documentation at /docs/config/engine.html > " > > ...right above the element. > > If you read that document, the jvmRoute attribute says: I know, I have that link in the initial ema

Re: jvmRoute generation

2011-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 8/24/2011 10:47 AM, Andrew Todd wrote: > The documentation there is addressed towards someone who wants to > do clustering replication and apparently already knows something > about the subject. jvmRoute is only mentioned in the context of

Re: jvmRoute generation

2011-08-24 Thread Mark Thomas
On 24/08/2011 15:07, Christopher Schultz wrote: > Jeffrey, > > On 8/24/2011 9:59 AM, Jeffrey Janner wrote: >> As Chris pointed out, it is mostly used by folks running with >> "sticky-sessions" > > Actually, use of the jvmRoute with non-sticky sessions seems like > an unnecessary step to me, sinc

Re: jvmRoute generation

2011-08-24 Thread Andrew Todd
On Wed, Aug 24, 2011 at 10:07 AM, Christopher Schultz wrote: > For my money, I'd go for sticky sessions and no replication at all. Correct, this is, as far as I know, what we are planning to do. Jeffrey Janner wrote: > I see from your first post that you know where to find the Tomcat 7 > docum

RE: jvmRoute generation

2011-08-24 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Wednesday, August 24, 2011 9:08 AM > To: Tomcat Users List > Subject: Re: jvmRoute generation > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jeffrey, >

Re: jvmRoute generation

2011-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 8/24/2011 9:59 AM, Jeffrey Janner wrote: > As Chris pointed out, it is mostly used by folks running with > "sticky-sessions" Actually, use of the jvmRoute with non-sticky sessions seems like an unnecessary step to me, since non-sticky ses

RE: jvmRoute generation

2011-08-24 Thread Jeffrey Janner
> -Original Message- > From: Andrew Todd [mailto:andrew.todd...@gmail.com] > Sent: Wednesday, August 24, 2011 7:53 AM > To: Tomcat Users List > Subject: Re: jvmRoute generation > > On Tue, Aug 23, 2011 at 5:31 PM, Christopher Schultz > wrote: > > If you are

Re: jvmRoute generation

2011-08-24 Thread Andrew Todd
On Tue, Aug 23, 2011 at 5:31 PM, Christopher Schultz wrote: > If you are using sticky sessions, then it is vital to the operation of > your cluster that the jvmRoutes be set with care and configured in the > web server to match the individual Tomcat instances. Thanks, it sounds like I need to go

Re: jvmRoute generation

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 8/23/2011 5:25 PM, Andrew Todd wrote: > On Tue, Aug 23, 2011 at 5:08 PM, Jeffrey Janner > wrote: >> Why on God's Green Earth would you want a "random" jvmRoute >> value? > > I'm new at this, explain to me why I wouldn't. I have to deploy

Re: jvmRoute generation

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 8/23/2011 4:49 PM, Andrew Todd wrote: > On Tue, Aug 23, 2011 at 3:57 PM, Christopher Schultz > wrote: >> You should be able to use a parametric replacement using a >> system property. That way, the file is the same across all >> installat

Re: jvmRoute generation

2011-08-23 Thread Andrew Todd
On Tue, Aug 23, 2011 at 5:08 PM, Jeffrey Janner wrote: > Why on God's Green Earth would you want a "random" jvmRoute value? I'm new at this, explain to me why I wouldn't. I have to deploy to a cluster, and my understanding is that the Apache front-end server doesn't care about the value of jvmRou

RE: jvmRoute generation

2011-08-23 Thread Jeffrey Janner
> -Original Message- > From: Andrew Todd [mailto:andrew.todd...@gmail.com] > Sent: Tuesday, August 23, 2011 3:50 PM > To: Tomcat Users List > Subject: Re: jvmRoute generation > > On Tue, Aug 23, 2011 at 3:57 PM, Christopher Schultz > wrote: > > You shou

Re: jvmRoute generation

2011-08-23 Thread Andrew Todd
On Tue, Aug 23, 2011 at 3:57 PM, Christopher Schultz wrote: > You should be able to use a parametric replacement using a system > property. That way, the file is the same across all installations but > the system property can be set locally. > > Something like this: > >  defaultHost="localhost" >

Re: jvmRoute generation

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 8/23/2011 3:22 PM, Andrew Todd wrote: > I'm working on putting together a clustered environment with > sticky sessions, and I'm wondering if there's any way of > automatically generating a jvmRoute value in the engine container > (https://

Re: jvmRoute generation

2011-08-23 Thread Mark Thomas
On 23/08/2011 20:22, Andrew Todd wrote: > I'm working on putting together a clustered environment with sticky > sessions, and I'm wondering if there's any way of automatically > generating a jvmRoute value in the engine container > (https://tomcat.apache.org/tomcat-7.0-doc/config/engine.html) rathe