tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Todd <andrew.todd...@gmail.com>
Subject Re: jvmRoute generation
Date Tue, 23 Aug 2011 20:49:50 GMT
On Tue, Aug 23, 2011 at 3:57 PM, Christopher Schultz
<chris@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.

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


Mime
View raw message