tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: adding hosts without restarting
Date Thu, 15 May 2003 02:55:00 GMT

This will almost certainly require a restart.  Did you read Tomcat's docs 
thoroughly?  If not, that is where to look.

Oh, well there is one way.  You can start completely separate instance of 
Tomcat on different ports.  You can use CATALINA_BASE to specify each the 
location of the separate instance(s).  This allows you to have a base 
install of Tomcat, but provide completely separate configurations and 
appBase's per Tomcat instance.  Is that what you are looking for?


At 09:48 PM 5/14/2003 +0000, you wrote:
>I have to believe this has been asked a million times, but I can find no 
>solution in the archives. I am running 4.12 stand-alone and need to be 
>able to add virtual hosts (new individual sites with a new host name and 
>root context) on the fly without restarting tomcat. I know that this 
>should be technically possible because the web admin tool has this 
>capability. Unfortunately, I'm not familiar with Struts, so that source 
>code didn't help me much.
>I understand that contexts within an existing host can be added in 
>numerous ways, but I need to add new hosts.
>Has anyone implemented a method of doing this, say from Java code or from 
>a command line (Ant)? It would greatly help me out.
>Thanks in advance,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message