Hello, Joao: jmx.jar contains javax/management/ListenerNotFoundException.class and (for me) jmx.jar is in $TOMCAT_HOME/common/lib; perhaps it's not installed on your system. Here's a very simple yet useful Bourne shell script:
++++++++++++++++++++++++++++++++++++ for jar in `ls *jar` do echo "checking $jar..." jar tvf $jar |grep -i listenernotfoundexception done ++++++++++++++++++++++++++++++++++++ btw: you can install either Cygwin on a Windows PC or uwin (if you prefer ksh)... Cordially, Oswald Joao Araujo <[EMAIL PROTECTED]> wrote: Shapira, >Hi, >What jars that didn't ship with tomcat are in your runtime classpath? > > > I;ve nothing set on my classpath. I saw that tomcat override whatever you set . The script setclasspath.sh does the job. It does this. CLASSPATH="$JAVA_HOME"/lib/tools.jar Those are my settiings Using CATALINA_BASE: /export/tomcat Using CATALINA_HOME: /export/tomcat Using CATALINA_TMPDIR: /export/tomcat/temp Using JAVA_HOME: /usr/java/j2sdk Thanks in advance, joao, >Yoav Shapira >Millennium ChemInformatics > > > > >>-----Original Message----- >>From: Joao Araujo [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, March 03, 2004 1:40 PM >>To: [EMAIL PROTECTED] >>Subject: What is the problem with tomcat 5.0 >> >> >> I''ve been trying to start tomcat without success. >> I dont know why every time I run startup.sh I get the following >> >> >error: > > >>java.lang.NoClassDefFoundError: >> >> >javax/management/ListenerNotFoundException > > >> at >>javax.management.MBeanServerDelegate.(MBeanServerDelegate.java:65 >> >> >) > > >> at >>com.sun.jmx.mbeanserver.MBeanServerDelegateImpl.(MBeanServerDeleg >> >> >ateI > > >>mpl.java:93) >> at >>com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServerDelegate(JmxMBeanS >> >> >erve > > >>r.java:1356) >> at >>javax.management.MBeanServerBuilder.newMBeanServerDelegate(MBeanServerB >> >> >uild > > >>er.java:61) >> at >>javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.j >> >> >ava: > > >>316) >> at >>javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactor >> >> >y.ja > > >>va:227) >> at >>javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactor >> >> >y.ja > > >>va:188) >> at >>org.apache.commons.modeler.Registry.getMBeanServer(Registry.java:665) >> at >>org.apache.catalina.mbeans.MBeanUtils.createServer(MBeanUtils.java:1700 >> >> >) > > >> at >> >> >org.apache.catalina.mbeans.MBeanUtils.(MBeanUtils.java:160) > > >> at >>org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.(Gl >> >> >obal > > >>ResourcesLifecycleListener.java:112) >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >>Method) >> at >>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor >> >> >Acce > > >>ssorImpl.java:39) >> >> >> Any idea of what is happening? >>JOao, >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > >This e-mail, including any attachments, is a confidential business communication, and >may contain information that is confidential, proprietary and/or privileged. This >e-mail is intended only for the individual(s) to whom it is addressed, and may not be >saved, copied, printed, disclosed or used by anyone else. If you are not the(an) >intended recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------- Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster.