tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <grm7...@verizon.net>
Subject Re: [HELP] Forcing Context Reload (watched resource) via Java Code
Date Sat, 25 Feb 2006 03:01:20 GMT
Rob Gregory escribió:
> Hi All
> 
>  
> 
> I'm using Tomcat 5.5.9 on Java 1.5.under mixed OS's. 
> 
>  
> 
>  
> 
> The question is one of forcing a context/webapp reload via java code - is
> this possible? I know adding a watched resource or adding a new lib triggers
> a reload (so hopefully to trigger this via code is possible).
> 

Could the Ant manager commands be an option (they have deploy, undeploy, 
etc., tasks) for you?

http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant

Glen

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


Mime
View raw message