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

Re: Java Mail Inside Tomcat

2008-03-14 Thread jamieb
google search you can read 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=761635&messageID=4347363 > > -Sameer > > --- jamieb <[EMAIL PR

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

Re: API call to reload Tomcat web application

2008-03-17 Thread jamieb
ed 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

Re: API call to reload Tomcat web application

2008-03-17 Thread jamieb
rintln (sm.getString("managerServlet.reloaded", displayPath)); } catch (Throwable t) { log("ManagerServlet.reload[" + displayPath + "]", t); writer.println(sm.getString("managerServlet.exception",

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 Manag