tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From richard42 <tom...@webcogs.com>
Subject Re: Adding/removing hosts dynamically?
Date Fri, 22 Jan 2010 00:37:39 GMT

Thank you for the advice!  I have tried the host manager app as well as a
class that I have just written which implements ContainerServlet. 
Unfortunately, I find that when I create a new host (by adding a
StandardHost to the Engine), it appears to add it successfully, but only
empty pages are served to the browser for that website.  This seems to
happen on the live server and my local machine (both Tomcat 6.0).  Does
anybody have any suggestions as to why this might be occurring please?

Many thanks,
Richard.


Filip Hanik - Dev Lists wrote:
> 
> answer is yes, it is possible. Others have done it successfully.
> If you want a place to start, take a look at host manager servlet
> http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/manager/host/HostManagerServlet.java?view=annotate
> 
> Note, this doesn't imply that you have to do it over HTTP, implement it 
> any way you want to fit your environment


-- 
View this message in context: http://old.nabble.com/Adding-removing-hosts-dynamically--tp27261390p27266255.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message