I would be looking for a Tomcat only resolution as I don't want to introduce any more dependencies. I'm pretty sure this is possible with just Tomcat as the html manager webapp is already doing the reloads.
Thanks anyway Rob -----Original Message----- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 26 February 2006 13:38 To: Tomcat Users List Subject: Re: [HELP] Forcing Context Reload (watched resource) via Java Code Good Morning Rob- Message Beans, Session Beans and Business Entity Beans need a J2EE container take a look at Oracle App Server .. a good headsup is available at http://www.oracle.com/oramag/oracle/02-jan/o12industry.html The J2ee authors work for Sun and have posted a very well written summary of uses for J2EE containe thru SunOne AppServer at http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_ 2e/deployment/deployment2.html Keep us apprised, Martin- ----- Original Message ----- From: "Rob Gregory" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <users@tomcat.apache.org> Sent: Sunday, February 26, 2006 7:37 AM Subject: RE: [HELP] Forcing Context Reload (watched resource) via Java Code > 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] > > --------------------------------------------------------------------- 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]