Re: Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts

2010-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck,

On 2/6/2010 7:35 PM, Caldarale, Charles R wrote:
>> From: Sam Anderson [mailto:sam...@gmail.com] Subject: Tomcat 6 and
>> Apache 2 - using Tomcat 6 with virtual hosts
>> 
>> Tomcat needs a hard restart in order for it to work.
> 
> Nope.  You can add and remove virtual hosts on the fly with the
> host-manager app that comes with Tomcat.  Unfortunately, there's very
> little documentation for it, so look at the web.xml file for and
> experiment a bit.  Note that the changes are not persisted, so you'll
> need to update server.xml separately, or reapply the host-manager
> commands on each Tomcat restart.

One of the members of the list recently indicated that they might be
motivated to either augment the manager app or write a specialized
add-on that could persist such changes. I think this was a couple of
weeks ago, but I haven't heard anything recently.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktwTtEACgkQ9CaO5/Lv0PBkiQCghElqzh0mFTvVmlZmzqgFstih
jwAAnA5GHBOzleMcnXNPy3Wihs1WpctW
=V0vI
-END PGP SIGNATURE-

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



RE: Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts

2010-02-06 Thread Caldarale, Charles R
> From: Sam Anderson [mailto:sam...@gmail.com]
> Subject: Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts
> 
> Tomcat needs a hard restart in order for it to work.

Nope.  You can add and remove virtual hosts on the fly with the host-manager 
app that comes with Tomcat.  Unfortunately, there's very little documentation 
for it, so look at the web.xml file for and experiment a bit.  Note that the 
changes are not persisted, so you'll need to update server.xml separately, or 
reapply the host-manager commands on each Tomcat restart.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



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