-----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 > <ch...@christopherschultz.net> 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: >> >> <Engine name="Catalina" defaultHost="localhost" >> jvmRoute="${jvmRoute}"> >> >> Then start Tomcat with CATALINA_OPTS="-DjvmRoute=galdalf" or >> whatever. > > Thanks, I'm sure that's probably useful for someone, but for now > it's easier for me just to run server.xml through sed during > deployment and generate a random jvmRoute value. Uh... you want a completely random jvmRoute? That needs to be in sync with your mod_jk configuration, so how are you doing that? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5UGzEACgkQ9CaO5/Lv0PAqlACggcwMRUfyuwl5S7AFtNCeb6X4 ijcAnRTspbswpyPLrrj3GKdDpW8dfTUY =ePNF -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org