> -----Original Message-----
> From: hepabolu [mailto:hepab...@gmail.com]
> Sent: Friday, September 18, 2009 1:06 PM
> To: users@tomcat.apache.org
> Subject: RE: Virtual host configuration - best practise?
> 
> 
> 
> 
> George Sexton wrote:
> >
> >
> > Another way of getting there is scripting commands to the Tomcat Host
> > Manager application. You can deploy the new hosts on the fly. It's
> pretty
> > straight forward.
> >
> > The downside to this approach, and probably JMX as well is that it
> doesn't
> > update server.xml and you'll have to create a startup routine that
> > generates
> > a new server.xml with the virtual hosts on the fly.
> >
> >
> 
> And a new server.xml requires a restart of Tomcat? Which would
> basically be
> a variation of my current setup. Correct?
> 
> Bye, Helma


No. Use the host manager to deploy/undeploy virtual hosts on the fly. When
you re-start tomcat, have a program create the server.xml so that all of the
one's you deployed using the host manager are represented.

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585


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

Reply via email to