tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Janner <Jeffrey.Jan...@PolyDyne.com>
Subject RE: jvmRoute generation
Date Tue, 23 Aug 2011 21:08:48 GMT
> -----Original Message-----
> From: Andrew Todd [mailto:andrew.todd659@gmail.com]
> Sent: Tuesday, August 23, 2011 3:50 PM
> To: Tomcat Users List
> Subject: Re: jvmRoute generation
> 
> 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.
> 

Why on God's Green Earth would you want a "random" jvmRoute value?
After all, you have to put all values used in the config for the web server directing the
traffic.
Use that wonderful computer you were given on your birthday and either generate your own "random"
value, and keep track of it, or come up with some easily documented naming scheme.
__________________________________________________________________________

Confidentiality Notice:  This Transmission (including any attachments) may contain information
that is privileged, confidential, and exempt from disclosure under applicable law.  If the
reader of this message is not the intended recipient you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.  

If you have received this transmission in error, please immediately reply to the sender or
telephone (512) 343-9100 and delete this transmission from your system.
Mime
View raw message