java.lang.NoClassDefFoundError: org/javagroups/blocks/NotificationBus$Consumer

Hibernate JIRA | Metin Göktay | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    We have activated OSCache within an clustered BEA WebLogic environment. At server start we encounter the following error: java.lang.NoClassDefFoundError: org/javagroups/blocks/NotificationBus$Consumer at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:476) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:181) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:223) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at com.opensymphony.oscache.base.AbstractCacheAdministrator.getCacheEventListeners(AbstractCacheAdministrator.java:227) at com.opensymphony.oscache.base.AbstractCacheAdministrator.configureStandardListeners(AbstractCacheAdministrator.java:293) at com.opensymphony.oscache.general.GeneralCacheAdministrator.createCache(GeneralCacheAdministrator.java:297) at com.opensymphony.oscache.general.GeneralCacheAdministrator.<init>(GeneralCacheAdministrator.java:99) at com.opensymphony.oscache.general.GeneralCacheAdministrator.<init>(GeneralCacheAdministrator.java:90) at net.sf.hibernate.cache.OSCache.<init>(OSCache.java:16) at net.sf.hibernate.cache.OSCacheProvider.buildCache(OSCacheProvider.java:55) at net.sf.hibernate.cfg.Configuration.configureCaches(Configuration.java:1130) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:790) at net.sf.hibernate.jca.ManagedConnectionFactoryImpl.initialize(ManagedConnectionFactoryImpl.java:156) at net.sf.hibernate.jca.ManagedConnectionFactoryImpl.createConnectionFactory(ManagedConnectionFactoryImpl.java:87) at weblogic.connector.common.internal.ConnectionPool.getConnectionFactory(ConnectionPool.java:1724) at weblogic.connector.common.internal.ConnectionFactory.testConnectionProxyViability(ConnectionFactory.java:466) at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:207) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1079) at weblogic.common.resourcepool.ResourcePoolImpl.setInitialCapacity(ResourcePoolImpl.java:739) at weblogic.connector.common.internal.ConnectionPoolManager.updateInitialCapacity(ConnectionPoolManager.java:495) at weblogic.connector.common.internal.ConnectionPoolManager.preparePool(ConnectionPoolManager.java:140) at weblogic.connector.deploy.Deployer.preparePool(Deployer.java:618) at weblogic.connector.deploy.Deployer.prepare(Deployer.java:230) at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:248) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3101) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1560) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1208) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1051) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:823) at weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDeployer.java:2925) at weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(SlaveDeployer.java:967) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:349) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229) at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361) at weblogic.Server.main(Server.java:32) After decompiling oscache-2.0.jar which comes with this Hibernate release we have found out that the following class com.opensymphony.plugins.clustersupport.JavaGroupsBroadcastingListener depends on org/javagroups/blocks/NotificationBus$Consumer. Unfortunataly the JAR jgroups-2.2.3.jar does not contain this class. Instead all classes in this jar are packaged as org.jgroups.

    Hibernate JIRA | 1 decade ago | Metin Göktay
    java.lang.NoClassDefFoundError: org/javagroups/blocks/NotificationBus$Consumer
  2. 0

    We have activated OSCache within an clustered BEA WebLogic environment. At server start we encounter the following error: java.lang.NoClassDefFoundError: org/javagroups/blocks/NotificationBus$Consumer at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:476) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:181) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:223) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at com.opensymphony.oscache.base.AbstractCacheAdministrator.getCacheEventListeners(AbstractCacheAdministrator.java:227) at com.opensymphony.oscache.base.AbstractCacheAdministrator.configureStandardListeners(AbstractCacheAdministrator.java:293) at com.opensymphony.oscache.general.GeneralCacheAdministrator.createCache(GeneralCacheAdministrator.java:297) at com.opensymphony.oscache.general.GeneralCacheAdministrator.<init>(GeneralCacheAdministrator.java:99) at com.opensymphony.oscache.general.GeneralCacheAdministrator.<init>(GeneralCacheAdministrator.java:90) at net.sf.hibernate.cache.OSCache.<init>(OSCache.java:16) at net.sf.hibernate.cache.OSCacheProvider.buildCache(OSCacheProvider.java:55) at net.sf.hibernate.cfg.Configuration.configureCaches(Configuration.java:1130) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:790) at net.sf.hibernate.jca.ManagedConnectionFactoryImpl.initialize(ManagedConnectionFactoryImpl.java:156) at net.sf.hibernate.jca.ManagedConnectionFactoryImpl.createConnectionFactory(ManagedConnectionFactoryImpl.java:87) at weblogic.connector.common.internal.ConnectionPool.getConnectionFactory(ConnectionPool.java:1724) at weblogic.connector.common.internal.ConnectionFactory.testConnectionProxyViability(ConnectionFactory.java:466) at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:207) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1079) at weblogic.common.resourcepool.ResourcePoolImpl.setInitialCapacity(ResourcePoolImpl.java:739) at weblogic.connector.common.internal.ConnectionPoolManager.updateInitialCapacity(ConnectionPoolManager.java:495) at weblogic.connector.common.internal.ConnectionPoolManager.preparePool(ConnectionPoolManager.java:140) at weblogic.connector.deploy.Deployer.preparePool(Deployer.java:618) at weblogic.connector.deploy.Deployer.prepare(Deployer.java:230) at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:248) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3101) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1560) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1208) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1051) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:823) at weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDeployer.java:2925) at weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(SlaveDeployer.java:967) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:349) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229) at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361) at weblogic.Server.main(Server.java:32) After decompiling oscache-2.0.jar which comes with this Hibernate release we have found out that the following class com.opensymphony.plugins.clustersupport.JavaGroupsBroadcastingListener depends on org/javagroups/blocks/NotificationBus$Consumer. Unfortunataly the JAR jgroups-2.2.3.jar does not contain this class. Instead all classes in this jar are packaged as org.jgroups.

    Hibernate JIRA | 1 decade ago | Metin Göktay
    java.lang.NoClassDefFoundError: org/javagroups/blocks/NotificationBus$Consumer
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.NoClassDefFoundError: weblogic/jdbc/wrapper/PoolConnection

    objectmix.com | 11 months ago
    java.lang.NoClassDefFoundError: weblogic/jdbc/wrapper/PoolConnection

    29 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/javagroups/blocks/NotificationBus$Consumer

      at java.lang.ClassLoader.defineClass0()
    2. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass0(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:537)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      3 frames
    3. weblogic.utils.classloaders
      GenericClassLoader.findClass
      1. weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:476)
      2. weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:181)
      2 frames
    4. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      2. java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      2 frames
    5. weblogic.utils.classloaders
      GenericClassLoader.loadClass
      1. weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:223)
      1 frame
    6. Java RT
      Class.forName
      1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      2. java.lang.Class.forName0(Native Method)
      3. java.lang.Class.forName(Class.java:141)
      3 frames
    7. OSCache
      GeneralCacheAdministrator.<init>
      1. com.opensymphony.oscache.base.AbstractCacheAdministrator.getCacheEventListeners(AbstractCacheAdministrator.java:227)
      2. com.opensymphony.oscache.base.AbstractCacheAdministrator.configureStandardListeners(AbstractCacheAdministrator.java:293)
      3. com.opensymphony.oscache.general.GeneralCacheAdministrator.createCache(GeneralCacheAdministrator.java:297)
      4. com.opensymphony.oscache.general.GeneralCacheAdministrator.<init>(GeneralCacheAdministrator.java:99)
      5. com.opensymphony.oscache.general.GeneralCacheAdministrator.<init>(GeneralCacheAdministrator.java:90)
      5 frames
    8. net.sf.hibernate
      ManagedConnectionFactoryImpl.createConnectionFactory
      1. net.sf.hibernate.cache.OSCache.<init>(OSCache.java:16)
      2. net.sf.hibernate.cache.OSCacheProvider.buildCache(OSCacheProvider.java:55)
      3. net.sf.hibernate.cfg.Configuration.configureCaches(Configuration.java:1130)
      4. net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:790)
      5. net.sf.hibernate.jca.ManagedConnectionFactoryImpl.initialize(ManagedConnectionFactoryImpl.java:156)
      6. net.sf.hibernate.jca.ManagedConnectionFactoryImpl.createConnectionFactory(ManagedConnectionFactoryImpl.java:87)
      6 frames
    9. weblogic.connector.common
      ConnectionFactory.createResource
      1. weblogic.connector.common.internal.ConnectionPool.getConnectionFactory(ConnectionPool.java:1724)
      2. weblogic.connector.common.internal.ConnectionFactory.testConnectionProxyViability(ConnectionFactory.java:466)
      3. weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:207)
      3 frames
    10. weblogic.common.resourcepool
      ResourcePoolImpl.setInitialCapacity
      1. weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145)
      2. weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1079)
      3. weblogic.common.resourcepool.ResourcePoolImpl.setInitialCapacity(ResourcePoolImpl.java:739)
      3 frames
    11. weblogic.connector.common
      ConnectionPoolManager.preparePool
      1. weblogic.connector.common.internal.ConnectionPoolManager.updateInitialCapacity(ConnectionPoolManager.java:495)
      2. weblogic.connector.common.internal.ConnectionPoolManager.preparePool(ConnectionPoolManager.java:140)
      2 frames
    12. weblogic.connector.deploy
      ConnectorModule.prepare
      1. weblogic.connector.deploy.Deployer.preparePool(Deployer.java:618)
      2. weblogic.connector.deploy.Deployer.prepare(Deployer.java:230)
      3. weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:248)
      3 frames
    13. weblogic.j2ee
      J2EEApplicationContainer.prepare
      1. weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3101)
      2. weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1560)
      3. weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1208)
      4. weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1051)
      5. weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:823)
      5 frames
    14. weblogic.management.deploy
      DeploymentManagerServerLifeCycleImpl.resume
      1. weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDeployer.java:2925)
      2. weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(SlaveDeployer.java:967)
      3. weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:349)
      4. weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
      4 frames
    15. weblogic.t3.srvr
      T3Srvr.run
      1. weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
      2. weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
      3. weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
      3 frames
    16. weblogic
      Server.main
      1. weblogic.Server.main(Server.java:32)
      1 frame