RE: using my own LifecycleListener

2010-02-24 Thread STEINER Stephan
As above, you're using the wrong Listener type. LifecycleListener is an interface from org.apache.catalina and is not part of the Servlet Spec. You need: javax.servlet.ServletContextListener Thanks, that did the trick. Glad I got that answer before going completely mad ;) Stephan

Re: using my own LifecycleListener

2010-02-24 Thread Pid
On 24/02/2010 09:14, STEINER Stephan wrote: As above, you're using the wrong Listener type. LifecycleListener is an interface from org.apache.catalina and is not part of the Servlet Spec. You need: javax.servlet.ServletContextListener Thanks, that did the trick. Glad I got that

Re: using my own LifecycleListener

2010-02-23 Thread Pid
On 23/02/2010 18:00, STEINER Stephan wrote: Hi I need to launch an initialization procedure as soon as my web application is deployed on Tomcat (working on a 6.0.20). As per the documentation, I can define a LifecycleListener in my context.xml file for the webapp in question. However, the

RE: using my own LifecycleListener

2010-02-23 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: using my own LifecycleListener You need: javax.servlet.ServletContextListener Which is declared in your webapp's WEB-INF/web.xml file, not the Context element. The servlet spec is required reading before you ever touch any servlet

Re: using my own LifecycleListener

2010-02-23 Thread Jon Brisbin
On Feb 23, 2010, at 12:32 PM, Caldarale, Charles R wrote: The servlet spec is required reading before you ever touch any servlet container. Oops. Guess I missed that memo. Crap. Now I'm going to have to resign! I'm living a lie. ;) Jon Brisbin Portal Webmaster NPC International, Inc.