Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-59121

NoClassDefFoundError for org/osgi/framework/BundleActivator on startup of Weblogic 12.1.1

    Details

    • Fix Priority:
      5

      Description

      The following occurs during startup of Weblogic 12.1.1

      root@cloud-10-0-18-31:~/Liferay/master-bundles/weblogic-12.1.1/domains/liferay> ./startWebLogic.sh 
      .
      .
      JAVA Memory arguments: -Xmx1024m -XX:PermSize=512m
      .
      WLS Start Mode=Development
      .
      CLASSPATH=/root/Liferay/master-bundles/weblogic-12.1.1/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/root/Liferay/master-bundles/weblogic-12.1.1/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/java/jdk1.7.0_79/lib/tools.jar:/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/server/lib/weblogic_sp.jar:/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/server/lib/weblogic.jar:/root/Liferay/master-bundles/weblogic-12.1.1/modules/features/weblogic.server.modules_12.1.1.0.jar:/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/server/lib/webservices.jar:/root/Liferay/master-bundles/weblogic-12.1.1/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/root/Liferay/master-bundles/weblogic-12.1.1/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/common/derby/lib/derbyclient.jar:/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/server/lib/xqrl.jar
      .
      PATH=/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/server/bin:/root/Liferay/master-bundles/weblogic-12.1.1/modules/org.apache.ant_1.7.1/bin:/opt/java/jdk1.7.0_79/jre/bin:/opt/java/jdk1.7.0_79/bin:/opt/java/ant/bin:/opt/java/jdk/bin:/opt/java/maven/bin:/sbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/opt/java/ant/bin:/opt/java/jdk/bin:/opt/java/maven/bin:/sbin:/usr/sbin:/opt/java/ant/bin:/opt/java/jdk/bin:/opt/java/maven/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
      .
      ***************************************************
      *  To start WebLogic Server, use a username and   *
      *  password assigned to an admin-level user.  For *
      *  server administration, use the WebLogic Server *
      *  console at http://hostname:port/console        *
      ***************************************************
      starting weblogic with Java version:
      java version "1.7.0_79"
      Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
      Java HotSpot(TM) Client VM (build 24.79-b02, mixed mode)
      Starting WLS with line:
      /opt/java/jdk1.7.0_79/bin/java -client   -Xmx1024m -XX:PermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/server/lib/weblogic.policy   -da:org.apache.lucene... -da:org.aspectj... -Xverify:none -Djava.endorsed.dirs=/opt/java/jdk1.7.0_79/jre/lib/endorsed:/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/endorsed  -da -Dfile.encoding=utf8 -Dplatform.home=/root/Liferay/master-bundles/weblogic-12.1.1/wlserver -Dwls.home=/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/server -Dweblogic.home=/root/Liferay/master-bundles/weblogic-12.1.1/wlserver/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/root/Liferay/master-bundles/weblogic-12.1.1/patch_wls1211/profiles/default/sysext_manifest_classpath:/root/Liferay/master-bundles/weblogic-12.1.1/patch_ocp371/profiles/default/sysext_manifest_classpath  weblogic.Server
      <Sep 30, 2015 2:57:12 PM MDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> 
      <Sep 30, 2015 2:57:12 PM MDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true> 
      <Sep 30, 2015 2:57:12 PM MDT> <Notice> <WebLogicServer> <BEA-000395> <The following extensions directory contents added to the end of the classpath: 
      /root/Liferay/master-bundles/weblogic-12.1.1/domains/liferay/lib/com.liferay.osgi.service.tracker.map.jar:/root/Liferay/master-bundles/weblogic-12.1.1/domains/liferay/lib/com.liferay.registry.api.jar:/root/Liferay/master-bundles/weblogic-12.1.1/domains/liferay/lib/hsql.jar:/root/Liferay/master-bundles/weblogic-12.1.1/domains/liferay/lib/jtds.jar:/root/Liferay/master-bundles/weblogic-12.1.1/domains/liferay/lib/mysql.jar:/root/Liferay/master-bundles/weblogic-12.1.1/domains/liferay/lib/portal-service.jar:/root/Liferay/master-bundles/weblogic-12.1.1/domains/liferay/lib/portlet.jar:/root/Liferay/master-bundles/weblogic-12.1.1/domains/liferay/lib/postgresql.jar.> 
      <Sep 30, 2015 2:57:12 PM MDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator
      java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
      	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:274)
      	at weblogic.t3.srvr.servicegroups.ServicePluginGroup.processPossibleServicePlugin(ServicePluginGroup.java:157)
      	at weblogic.t3.srvr.servicegroups.ServicePluginGroup.<init>(ServicePluginGroup.java:90)
      	at weblogic.t3.srvr.servicegroups.ServerServiceDependencies.<init>(ServerServiceDependencies.java:60)
      	at weblogic.t3.srvr.servicegroups.ServerServiceDependencies.<clinit>(ServerServiceDependencies.java:50)
      	at weblogic.t3.srvr.ServerServices.<clinit>(ServerServices.java:94)
      	at weblogic.t3.srvr.ServerServicesManager.getServicesBeforeStandbyState(ServerServicesManager.java:370)
      	at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:149)
      	at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
      	at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
      	at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
      	at weblogic.Server.main(Server.java:74)
      Caused By: java.lang.ClassNotFoundException: org.osgi.framework.BundleActivator
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
      	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:274)
      	at weblogic.t3.srvr.servicegroups.ServicePluginGroup.processPossibleServicePlugin(ServicePluginGroup.java:157)
      	at weblogic.t3.srvr.servicegroups.ServicePluginGroup.<init>(ServicePluginGroup.java:90)
      	at weblogic.t3.srvr.servicegroups.ServerServiceDependencies.<init>(ServerServiceDependencies.java:60)
      	at weblogic.t3.srvr.servicegroups.ServerServiceDependencies.<clinit>(ServerServiceDependencies.java:50)
      	at weblogic.t3.srvr.ServerServices.<clinit>(ServerServices.java:94)
      	at weblogic.t3.srvr.ServerServicesManager.getServicesBeforeStandbyState(ServerServicesManager.java:370)
      	at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:149)
      	at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
      	at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
      	at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
      	at weblogic.Server.main(Server.java:74)
      > 
      <Sep 30, 2015 2:57:12 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.> 
      <Sep 30, 2015 2:57:12 PM MDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.> 
      <Sep 30, 2015 2:57:12 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.> 
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 26 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 CE RC1