Re: Unable to get a Listener running

2007-04-16 Thread Rashmi Rubdi
On 4/16/07, Mike Peremsky <[EMAIL PROTECTED]> wrote: From the control panel. If I go to the system properties and look at the environment variables I have the following: (I do not have a JRE_HOME defined) CATALINA_HOME=c:\apache-tomcat JAVA_HOME=c:\jdk1.5.0 Path=C:\jdk1.5.0\bin;%ANT_HOME%\bi

Re: Unable to get a Listener running

2007-04-15 Thread Mike Peremsky
>From the control panel. If I go to the system properties and look at the >environment variables I have the following: (I do not have a JRE_HOME defined) CATALINA_HOME=c:\apache-tomcat JAVA_HOME=c:\jdk1.5.0 Path=C:\jdk1.5.0\bin;%ANT_HOME%\bin There is a CLASSPATH variable set as:

Re: Unable to get a Listener running

2007-04-15 Thread Rashmi Rubdi
I tried your code, it didn't capture any event but Tomcat didn't throw any errors. Typically the error > java.lang.NoClassDefFoundError occurs when a system wide classpath is incorrectly set or partially set. Actually there's no need to set a system wide classpath. Tomcat 5.5.x auto detects it.

Unable to get a Listener running

2007-04-15 Thread Mike Peremsky
To whom it may concern: I am trying to implement a Listener in my Java application using Tomcat 5.5. My class implements the LifecycleListener (as shown below) public class SingletonLoader implements LifecycleListener { public void lifecycleEvent(LifecycleEvent event) {