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 --

using my own LifecycleListener

2010-02-23 Thread STEINER Stephan
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 documentation says that it needs to be packe

RE: Using a configuration file without path for an application deployed on tomcat

2006-03-07 Thread STEINER Stephan
Nick Thanks for the suggestion. It's a bit problematic though since that config file needs to be edited by our clients and we obviously won't give out the source code so that they can rebuild the jar. Since a jar is just an archive, wouldn't it be possible to actually open that archive and jus

Using a configuration file without path for an application deployed on tomcat

2006-03-06 Thread STEINER Stephan
Hi I have developed a Java application which offers certain services to Cisco IP phones. I've written it as a standalone java application to separate processing logic and presentation. So basically I have a set of classes, and two jsp frontend files that do very basic things. Since the application