-----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 
> <jeffrey.jan...@polydyne.com> 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 jvmRoute.

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. If you aren't using
sticky sessions, then you can eliminate the jvmRoute because it
doesn't matter which back-end server the requests go to.

> Generating a value at deployment time therefore seemed like the 
> easiest way of doing this. I could just as easily generate a more 
> predictable value from the hostname, but I'm not sure of the
> benefits or considerations of that choice, either.

You could also set it to "" but I recently found out that gives you an
empty jvmRoute, not a non-existent one.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5UHCsACgkQ9CaO5/Lv0PDwyQCfbBMxQcfi8WCXbjjyP+c4oAG6
eQoAoLPKUp7MXfjg1SfxB0u2M78Jq+GM
=I58I
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to