Thanks Glen, A new area for me to investigate.
I appreciate this is not a common design but I am writing out the datasource configuration details dynamically (which is working fine) and I need to reload Tomcat for these datasources to be setup as it's too late by the time I have written them out. They only get re-written if any details such as password has changed. Thanks Again Rob -----Original Message----- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: 25 February 2006 17:49 To: Tomcat Users List Subject: Re: [HELP] Forcing Context Reload (watched resource) via Java Code Rob Gregory wrote: > 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? > I think JMX / MBeans would be the technology you are looking for here, which Tomcat supports, but this is beyond my scope of knowledge. As for a webapp being able to programatically reload itself, I am unsure, but such a design is probably rather uncommon. 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]