Re: API call to reload Tomcat web application

2008-03-17 Thread jamieb
to control the application remotely. The application doing the calling is the application that needs to be restarted itself. Any further ideas? Thanks Jamie Pid-2 wrote: jamieb wrote: Hi there I am busy implementing an auto update facility for a Tomcat web application. As part of the auto

Re: API call to reload Tomcat web application

2008-03-17 Thread jamieb
[ + displayPath + ], t); writer.println(sm.getString(managerServlet.exception, t.toString())); } } Pid-2 wrote: jamieb wrote: Hi Thanks for the tip. While I am very grateful for your advice, I am not sure I like either

Re: API call to reload Tomcat web application

2008-03-17 Thread jamieb
Sorry I didn't mean to say ActionServlet or ModuleConfig objects...these are struts based objects.. more generally, from within a Tomcat web application... how do you access the Context object? Thanks Jamie jamieb wrote: Hi There I had a look at Tomcat's Manager application the reload

Re: Java Mail Inside Tomcat

2008-03-15 Thread jamieb
thru the same it describes similar problems. We have not had problems using java mail under tomcat but we dont use imap. http://forum.java.sun.com/thread.jspa?threadID=761635messageID=4347363 -Sameer --- jamieb [EMAIL PROTECTED] wrote: Hi there I have encountered a bizzare problem

API call to reload Tomcat web application

2008-03-15 Thread jamieb
Hi there I am busy implementing an auto update facility for a Tomcat web application. As part of the auto update process, the auto update code needs to unpack the changed class files and reload the Tomcat web application. I am aware that you can configure Tomcat to automatically reload the web

Java Mail Inside Tomcat

2008-03-12 Thread jamieb
Hi there I have encountered a bizzare problem... I have a small peice of code that fetches emails from an IMAP server using TLS. This code works perfectly in a standalone application, however, when I copy and paste it over to a Tomcat application it does not work. The code uses Java Mail 1.4.1