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
>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:
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.
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) {