Mailinglist Archive: opensuse-bugs (4067 mails)

< Previous Next >
[Bug 712784] New: tomcat6 does not start - exception NoClassDefFoundError: org.apache.catalina.mbeans.ServerLifecycleListener
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 18 Aug 2011 03:57:14 +0000
  • Message-id: <bug-712784-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=712784

https://bugzilla.novell.com/show_bug.cgi?id=712784#c0


Summary: tomcat6 does not start - exception
NoClassDefFoundError:
org.apache.catalina.mbeans.ServerLifecycleListener
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: x86-64
OS/Version: openSUSE 11.4
Status: NEW
Severity: Critical
Priority: P5 - None
Component: BuildService
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: sum.notify@xxxxxxxxx
QAContact: adrian@xxxxxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0.1)
Gecko/20100101 Firefox/5.0.1

The init script says tomcat6 starts successfully, but the logs say otherwise
and the process immediately died out. I did a full update tonight from the
openSuse:build Java repository. Here is my exception log:

SEVERE: Begin event threw error
java.lang.NoClassDefFoundError:
org.apache.catalina.mbeans.ServerLifecycleListener
at java.lang.Class.initializeClass(libgcj.so.11)
at java.lang.Class.newInstance(libgcj.so.11)
at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206)
at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1356)
at gnu.xml.stream.SAXParser.parse(libgcj.so.11)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
at java.lang.reflect.Method.invoke(libgcj.so.11)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.ClassNotFoundException:
javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in
org.apache.catalina.loader.StandardClassLoader{urls=[file:/usr/share/java/tomcat6/,file:/usr/share/java/tomcat6/tomcat-coyote-6.0.32.jar,file:/usr/share/java/tomcat6/jasper-el-6.0.32.jar,file:/usr/share/java/tomcat6/catalina-tribes-6.0.32.jar,file:/usr/share/java/tomcat6/ecj.jar,file:/usr/share/java/tomcat6/catalina-ha-6.0.32.jar,file:/usr/share/java/tomcat6/commons-collections-tomcat5.jar,file:/usr/share/java/jakarta-commons-collections-tomcat5-3.2.jar,file:/usr/share/java/tomcat6-jsp-2.1-api-6.0.32.jar,file:/usr/share/java/tomcat6/jasper-6.0.32.jar,file:/usr/share/java/jakarta-commons-pool-tomcat5-1.3.jar,file:/usr/share/java/tomcat6/catalina-6.0.32.jar,file:/usr/share/java/tomcat6/annotations-api-6.0.32.jar,file:/usr/share/java/tomcat6/tomcat-i18n-fr-6.0.32.jar,file:/usr/share/java/tomcat6/commons-pool-tomcat5.jar,file:/usr/share/java/tomcat6/catalina-ant-6.0.32.jar,file:/usr/share/java/tomcat6/tomcat-i18n-ja-6.0.32.jar,file:/usr/share/java/ecj-3.3.jar,file:/usr/share/java

/tomcat6/tomcat-i18n-es-6.0.32.jar,file:/usr/share/java/jakarta-commons-dbcp-tomcat5-1.2.2.jar,file:/usr/share/java/tomcat6-el-1.0-api-6.0.32.jar,file:/usr/share/java/tomcat6/commons-dbcp-tomcat5.jar,file:/usr/share/java/tomcat6-servlet-2.5-api-6.0.32.jar],
parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/usr/share/tomcat6/bin/bootstrap.jar,file:/usr/share/tomcat6/bin/tomcat-juli.jar,file:/usr/share/java/commons-daemon.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
at java.net.URLClassLoader.findClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.VMClassLoader.defineClass(libgcj.so.11)
at java.lang.ClassLoader.defineClass(libgcj.so.11)
at java.security.SecureClassLoader.defineClass(libgcj.so.11)
at java.net.URLClassLoader.findClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.VMClassLoader.defineClass(libgcj.so.11)
at java.lang.ClassLoader.defineClass(libgcj.so.11)
at java.security.SecureClassLoader.defineClass(libgcj.so.11)
at java.net.URLClassLoader.findClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.Class.forName(libgcj.so.11)
at java.lang.Class.initializeClass(libgcj.so.11)
...11 more
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(libgcj.so.11)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NoClassDefFoundError:
org.apache.catalina.mbeans.ServerLifecycleListener
at java.lang.Class.initializeClass(libgcj.so.11)
at java.lang.Class.newInstance(libgcj.so.11)
at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206)
at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1356)
at gnu.xml.stream.SAXParser.parse(libgcj.so.11)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
at java.lang.reflect.Method.invoke(libgcj.so.11)
...2 more
Caused by: java.lang.ClassNotFoundException:
javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in
org.apache.catalina.loader.StandardClassLoader{urls=[file:/usr/share/java/tomcat6/,file:/usr/share/java/tomcat6/tomcat-coyote-6.0.32.jar,file:/usr/share/java/tomcat6/jasper-el-6.0.32.jar,file:/usr/share/java/tomcat6/catalina-tribes-6.0.32.jar,file:/usr/share/java/tomcat6/ecj.jar,file:/usr/share/java/tomcat6/catalina-ha-6.0.32.jar,file:/usr/share/java/tomcat6/commons-collections-tomcat5.jar,file:/usr/share/java/jakarta-commons-collections-tomcat5-3.2.jar,file:/usr/share/java/tomcat6-jsp-2.1-api-6.0.32.jar,file:/usr/share/java/tomcat6/jasper-6.0.32.jar,file:/usr/share/java/jakarta-commons-pool-tomcat5-1.3.jar,file:/usr/share/java/tomcat6/catalina-6.0.32.jar,file:/usr/share/java/tomcat6/annotations-api-6.0.32.jar,file:/usr/share/java/tomcat6/tomcat-i18n-fr-6.0.32.jar,file:/usr/share/java/tomcat6/commons-pool-tomcat5.jar,file:/usr/share/java/tomcat6/catalina-ant-6.0.32.jar,file:/usr/share/java/tomcat6/tomcat-i18n-ja-6.0.32.jar,file:/usr/share/java/ecj-3.3.jar,file:/usr/share/java

/tomcat6/tomcat-i18n-es-6.0.32.jar,file:/usr/share/java/jakarta-commons-dbcp-tomcat5-1.2.2.jar,file:/usr/share/java/tomcat6-el-1.0-api-6.0.32.jar,file:/usr/share/java/tomcat6/commons-dbcp-tomcat5.jar,file:/usr/share/java/tomcat6-servlet-2.5-api-6.0.32.jar],
parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/usr/share/tomcat6/bin/bootstrap.jar,file:/usr/share/tomcat6/bin/tomcat-juli.jar,file:/usr/share/java/commons-daemon.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
at java.net.URLClassLoader.findClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.VMClassLoader.defineClass(libgcj.so.11)
at java.lang.ClassLoader.defineClass(libgcj.so.11)
at java.security.SecureClassLoader.defineClass(libgcj.so.11)
at java.net.URLClassLoader.findClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.VMClassLoader.defineClass(libgcj.so.11)
at java.lang.ClassLoader.defineClass(libgcj.so.11)
at java.security.SecureClassLoader.defineClass(libgcj.so.11)
at java.net.URLClassLoader.findClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.Class.forName(libgcj.so.11)
at java.lang.Class.initializeClass(libgcj.so.11)
...11 more

here are my packages:

# rpm -qa | grep java
gcc-java-4.5-19.1.x86_64
java-1_5_0-gcj-compat-1.5.0.0-128.5.x86_64
jakarta-commons-daemon-java-1.0.5-273.1.noarch
gcc45-java-4.5.1_20101208-9.4.x86_64
java-1_5_0-gcj-compat-devel-1.5.0.0-128.5.x86_64
<server>:/etc/tomcat6 # rpm -qa | grep tomcat
tomcat6-el-1_0-api-6.0.32-43.6.noarch
jakarta-commons-pool-tomcat5-1.3-186.6.noarch
tomcat6-6.0.32-43.6.noarch
tomcat6-servlet-2_5-api-6.0.32-43.6.noarch
jakarta-commons-collections-tomcat5-3.2-185.5.noarch
tomcat6-jsp-2_1-api-6.0.32-43.6.noarch
tomcat6-lib-6.0.32-43.6.noarch
jakarta-commons-dbcp-tomcat5-1.2.2-185.6.noarch

The only thing I could find online was this really old bug:
https://bugzilla.novell.com/show_bug.cgi?id=394505



Reproducible: Always

Steps to Reproduce:
1. Install tomcat6 from openSuse:Build repository
2. /etc/init.d/tomcat6 start
3. cat /var/log/tomcat6/catalina.out

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >