Thanks Glen for the suggestion.

I was hoping for a more integrated approach without the need for additional
jars or external commands. 

Could I not just deploy may webapp with manager privileges and call the
reload internally? Would this be feasibly?

Thanks Again
Rob


-----Original Message-----
From: Glen Mazza [mailto:[EMAIL PROTECTED] 
Sent: 25 February 2006 03:01
To: Tomcat Users List
Subject: Re: [HELP] Forcing Context Reload (watched resource) via Java Code

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%20Manag
er%20Commands%20With%20Ant

Glen

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


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

Reply via email to