掲示板

Cannot open Liferay portal any more -ClassNotFoundException

11年前 に Ramgopal Menon によって更新されました。

Cannot open Liferay portal any more -ClassNotFoundException

New Member 投稿: 11 参加年月日: 13/01/23 最新の投稿
Hi community emoticon
There's an issue now with opening Liferay portal.
The tomcat server is not starting up and an exception is thrown in catalina.out.
This is what it shows:
Feb 6, 2013 2:27:12 a.m. org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
   at java.lang.Class.initializeClass(libgcj.so.13)
   at java.lang.Class.newInstance(libgcj.so.13)
   at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:145)
   at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
   at gnu.xml.stream.SAXParser.parse(libgcj.so.13)
   at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1556)
   at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDigesterSource.execute(MbeansDescriptorsDigesterSource.java:238)
   at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDigesterSource.loadDescriptors(MbeansDescriptorsDigesterSource.java:216)
   at org.apache.tomcat.util.modeler.Registry.load(Registry.java:689)
   at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:800)
   at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:780)
   at org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:1066)
   at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:95)
   at java.lang.Class.initializeClass(libgcj.so.13)
   at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.<clinit>(GlobalResourcesLifecycleListener.java:68)
   at java.lang.Class.initializeClass(libgcj.so.13)
   at java.lang.Class.newInstance(libgcj.so.13)
   at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:145)
   at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
   at gnu.xml.stream.SAXParser.parse(libgcj.so.13)
   at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:601)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
   at java.lang.reflect.Method.invoke(libgcj.so.13)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:449)
Caused by: java.lang.ClassNotFoundException: javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in org.apache.catalina.loader.StandardClassLoader{urls=[file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/catalina.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/catalina-ant.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-jdbc.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-coyote.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-util.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/annotations-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.
20-ee-ga2/tomcat-7.0.27/lib/servlet-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/jasper-el.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/jasper.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/jsp-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ecj-3.7.2.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/catalina-tribes.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-i18n-ja.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/catalina-ha.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/
tomcat-7.0.27/lib/el-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-i18n-es.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-i18n-fr.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-dbcp.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/mail.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/activation.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/hsql.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/portlet.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/
ext/ccpp.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/jtds.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/persistence.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/jms.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/postgresql.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/jutf7.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/portal-service.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/jta.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/support-tomcat.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/
liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/bin/bootstrap.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/bin/tomcat-juli.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
   at java.net.URLClassLoader.findClass(libgcj.so.13)
   at java.lang.ClassLoader.loadClass(libgcj.so.13)
   at java.lang.ClassLoader.loadClass(libgcj.so.13)
   at java.lang.VMClassLoader.defineClass(libgcj.so.13)
   at java.lang.ClassLoader.defineClass(libgcj.so.13)
   at java.security.SecureClassLoader.defineClass(libgcj.so.13)
   at java.net.URLClassLoader.findClass(libgcj.so.13)
   at java.lang.ClassLoader.loadClass(libgcj.so.13)
   at java.lang.ClassLoader.loadClass(libgcj.so.13)
   at java.lang.Class.forName(libgcj.so.13)
   at java.lang.Class.initializeClass(libgcj.so.13)
   ...25 more
java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
   at java.lang.Class.initializeClass(libgcj.so.13)
   at java.lang.Class.newInstance(libgcj.so.13)
   at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:145)
   at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
   at gnu.xml.stream.SAXParser.parse(libgcj.so.13)
   at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1556)
   at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDigesterSource.execute(MbeansDescriptorsDigesterSource.java:238)
   at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDigesterSource.loadDescriptors(MbeansDescriptorsDigesterSource.java:216)
   at org.apache.tomcat.util.modeler.Registry.load(Registry.java:689)
   at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:800)
   at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:780)
   at org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:1066)
   at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:95)
   at java.lang.Class.initializeClass(libgcj.so.13)
   at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.<clinit>(GlobalResourcesLifecycleListener.java:68)
   at java.lang.Class.initializeClass(libgcj.so.13)
   at java.lang.Class.newInstance(libgcj.so.13)
   at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:145)
   at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
   at gnu.xml.stream.SAXParser.parse(libgcj.so.13)
   at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:601)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
   at java.lang.reflect.Method.invoke(libgcj.so.13)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:449)
Caused by: java.lang.ClassNotFoundException: javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in org.apache.catalina.loader.StandardClassLoader{urls=[file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/catalina.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/catalina-ant.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-jdbc.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-coyote.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-util.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/annotations-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.
20-ee-ga2/tomcat-7.0.27/lib/servlet-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/jasper-el.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/jasper.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/jsp-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ecj-3.7.2.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/catalina-tribes.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-i18n-ja.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/catalina-ha.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/
tomcat-7.0.27/lib/el-api.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-i18n-es.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-i18n-fr.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/tomcat-dbcp.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/mail.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/activation.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/hsql.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/portlet.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/
ext/ccpp.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/jtds.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/persistence.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/jms.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/postgresql.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/jutf7.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/portal-service.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/jta.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/lib/ext/support-tomcat.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/
liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/bin/bootstrap.jar,file:/home/ramgopalm/liferay-portal-6.1.20-ee-ga2/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/bin/tomcat-juli.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
   at java.net.URLClassLoader.findClass(libgcj.so.13)
   at java.lang.ClassLoader.loadClass(libgcj.so.13)
   at java.lang.ClassLoader.loadClass(libgcj.so.13)
   at java.lang.VMClassLoader.defineClass(libgcj.so.13)
   at java.lang.ClassLoader.defineClass(libgcj.so.13)
   at java.security.SecureClassLoader.defineClass(libgcj.so.13)
   at java.net.URLClassLoader.findClass(libgcj.so.13)
   at java.lang.ClassLoader.loadClass(libgcj.so.13)
   at java.lang.ClassLoader.loadClass(libgcj.so.13)
   at java.lang.Class.forName(libgcj.so.13)
   at java.lang.Class.initializeClass(libgcj.so.13)
   ...25 more</clinit></clinit></clinit></clinit>


Any idea what's going on? I didn't see the javax package in any of tomcat-7.0.27's folders' JAR files.
Please HELP!

Thanks!
Ram
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Cannot open Liferay portal any more -ClassNotFoundException

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Check which Java version is being used to startup Tomcat. Be sure it's Oracle JDK 1.6.x

If it is, was liferay working? If not, you probably didn't extract all the files. If you're on MS Windows, File Explorer sometimes does not extract all the files so try using something like 7-zip (http://www.7-zip.org/)
11年前 に Ramgopal Menon によって更新されました。

RE: Cannot open Liferay portal any more -ClassNotFoundException

New Member 投稿: 11 参加年月日: 13/01/23 最新の投稿
Hitoshi Ozawa:
Check which Java version is being used to startup Tomcat. Be sure it's Oracle JDK 1.6.x

If it is, was liferay working? If not, you probably didn't extract all the files. If you're on MS Windows, File Explorer sometimes does not extract all the files so try using something like 7-zip (http://www.7-zip.org/)



There is a JRE 1.6 version installed within tomcat directory.
I'm running this on OpenSUSE, on a Virtual machine in Windows.
Liferay wasn't working at all.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Cannot open Liferay portal any more -ClassNotFoundException

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Are you using "Oracle" JRE 1.6. Open JRE won't work.

How about trying the following package?

https://solutionexchange.vmware.com/store/products/bitnami-liferay-stack-6-1-0-1-opensuse-11-3
11年前 に Ramgopal Menon によって更新されました。

RE: Cannot open Liferay portal any more -ClassNotFoundException

New Member 投稿: 11 参加年月日: 13/01/23 最新の投稿
Hitoshi Ozawa:
Are you using "Oracle" JRE 1.6. Open JRE won't work.

How about trying the following package?

https://solutionexchange.vmware.com/store/products/bitnami-liferay-stack-6-1-0-1-opensuse-11-3



Thanks Hitoshi! This is news to me.
I'm now creating a new image for OpenSUSE 64-bit to install Liferay all over again.
I will also try BitNami like you suggested.
11年前 に Ramgopal Menon によって更新されました。

RE: Cannot open Liferay portal any more -ClassNotFoundException

New Member 投稿: 11 参加年月日: 13/01/23 最新の投稿
Hi Hitoshi,

I think BitNami does not run with OpenSUSE it only uses Ubunti, which is not my requirement.
Can you help me point out what version of Java is being used by Liferay or tomcat server?
11年前 に Ramgopal Menon によって更新されました。

RE: Cannot open Liferay portal any more -ClassNotFoundException

New Member 投稿: 11 参加年月日: 13/01/23 最新の投稿
Hi everyone!

I still have the same problem with Liferay.
catalina.out still shows java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
Is there anyway you can help?

Thanks!
BR,
Ram