On Tue, Aug 23, 2011 at 3:57 PM, Christopher Schultz
<[email protected]> 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to