-----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://tomcat.apache.org/tomcat-7.0-doc/config/engine.html) > rather than setting one manually for each Tomcat instance. Thanks. 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: <Engine name="Catalina" defaultHost="localhost" jvmRoute="${jvmRoute}"> Then start Tomcat with CATALINA_OPTS="-DjvmRoute=galdalf" or whatever. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5UBi4ACgkQ9CaO5/Lv0PAG4ACfayQFX87SJ2PAYPnrC5JpTm3W tw8An07LwnoWs3kNpXyTdSqgZcOYTibI =siWU -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org