I'm trying to set up JMX on tomcat 6.0.19. Following the docs at http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html, I've added this line to CATALINA_HOME/conf/tomcat6.conf:
CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" When I try to start tomcat with this in place, it crashes with just this in catalina.out: Could not load Logmanager "org.apache.juli.ClassLoaderLogManager" java.lang.NullPointerException at java.util.logging.Logger.getLogger(Logger.java:292) at java.util.jar.Attributes.read(Attributes.java:422) at java.util.jar.Manifest.read(Manifest.java:199) at java.util.jar.Manifest.<init>(Manifest.java:69) at java.util.jar.JarFile.getManifestFromReference(JarFile.java:177) at java.util.jar.JarFile.getManifest(JarFile.java:163) at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:916) at sun.misc.URLClassPath.getLoader(URLClassPath.java:317) at sun.misc.URLClassPath.getResource(URLClassPath.java:184) at java.net.URLClassLoader$1.run(URLClassLoader.java:209) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at java.util.logging.LogManager$1.run(LogManager.java:182) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.<clinit>(LogManager.java:175) at java.util.logging.Logger.getLogger(Logger.java:291) at com.sun.jmx.remote.util.ClassLogger.<init>(ClassLogger.java:55) at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap. java:739) at sun.management.Agent.startAgent(Agent.java:147) at sun.management.Agent.startAgent(Agent.java:289) Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332) Could not find the main class: org.apache.catalina.startup.Bootstrap. Program will exit. Any ideas as to what the trouble might be caused by, or what else I could do to debug the problem? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org