Hi,
You need to restart the server after adding hosts.  You can add hosts
manually in server.xml, via the Admin webapp that ships with tomcat, or
with your own custom code programmatically, but in any case the server
must be restarted.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Fedor Smirnoff [mailto:[EMAIL PROTECTED]
>Sent: Saturday, April 10, 2004 7:22 PM
>To: 'Tomcat Users List'
>Subject: Adding host and context information on the fly
>
>Hi I was wondering if there is a way to add host records to Tomcat 5
>configurations on the fly without restarting the server. I found out
that
>adding appname.xml file with context info in it to
conf/Catalina/localhost/
>directory will make this application available right away.
>
>I cannot figure out how to add new virtual host in a similar way
without
>manually changing server.xml file and than restarting tomcat. Could
someone
>please help?
>
>
>Thank you
>Fedor
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to