1 Reply Latest reply on Sep 28, 2011 8:59 AM by Wolfgang Knauf

    java.lang.NoClassDefFoundError: Lorg/hornetq/core/logging/Logger

    Jatin Chanchlani Newbie

      hi, i am using ejb 2.0 and jboss 6 for my application and im getting the following error

       

      Exception in thread "Thread-4" java.lang.NoClassDefFoundError: Lorg/hornetq/core/logging/Logger;

                at java.lang.Class.getDeclaredFields0(Native Method)

                at java.lang.Class.privateGetDeclaredFields(Unknown Source)

                at java.lang.Class.getDeclaredField(Unknown Source)

                at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)

                at java.io.ObjectStreamClass.access$700(Unknown Source)

                at java.io.ObjectStreamClass$2.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.io.ObjectStreamClass.<init>(Unknown Source)

                at java.io.ObjectStreamClass.lookup(Unknown Source)

                at java.io.ObjectStreamClass.initNonProxy(Unknown Source)

                at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)

                at java.io.ObjectInputStream.readClassDesc(Unknown Source)

                at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)

                at java.io.ObjectInputStream.readObject0(Unknown Source)

                at java.io.ObjectInputStream.readObject(Unknown Source)

                at org.hornetq.jms.referenceable.SerializableObjectRefAddr.deserialize(SerializableObjectRefAddr.java:79)

                at org.hornetq.jms.referenceable.ConnectionFactoryObjectFactory.getObjectInstance(ConnectionFactoryObjectFactory.java:43)

                at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)

                at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1110)

                at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1127)

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:690)

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)

                at javax.naming.InitialContext.lookup(Unknown Source)

                at com.etp.dim.jms.JMSManager.jndiLookup(JMSManager.java:1371)

                at com.etp.dim.jms.JMSManager.getQueueConnectionFactory(JMSManager.java:1347)

                at com.etp.dim.jms.JMSManager.connectToJMS(JMSManager.java:517)

                at com.etp.dim.jms.JMSManager.<init>(JMSManager.java:72)

                at com.etp.dim.process.SenderReceiver.run(SenderReceiver.java:96)

      jndiLookup

      Exception in thread "Thread-5" java.lang.NoClassDefFoundError: Lorg/hornetq/core/logging/Logger;

                at java.lang.Class.getDeclaredFields0(Native Method)

                at java.lang.Class.privateGetDeclaredFields(Unknown Source)

                at java.lang.Class.getDeclaredField(Unknown Source)

                at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)

                at java.io.ObjectStreamClass.access$700(Unknown Source)

                at java.io.ObjectStreamClass$2.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.io.ObjectStreamClass.<init>(Unknown Source)

                at java.io.ObjectStreamClass.lookup(Unknown Source)

                at java.io.ObjectStreamClass.initNonProxy(Unknown Source)

                at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)

                at java.io.ObjectInputStream.readClassDesc(Unknown Source)

                at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)

                at java.io.ObjectInputStream.readObject0(Unknown Source)

                at java.io.ObjectInputStream.readObject(Unknown Source)

                at org.hornetq.jms.referenceable.SerializableObjectRefAddr.deserialize(SerializableObjectRefAddr.java:79)

                at org.hornetq.jms.referenceable.ConnectionFactoryObjectFactory.getObjectInstance(ConnectionFactoryObjectFactory.java:43)

                at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)

                at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1110)

                at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1127)

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:690)

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)

                at javax.naming.InitialContext.lookup(Unknown Source)

                at com.etp.dim.jms.JMSManager.jndiLookup(JMSManager.java:1371)

                at com.etp.dim.jms.JMSManager.getQueueConnectionFactory(JMSManager.java:1347)

                at com.etp.dim.jms.JMSManager.connectToJMS(JMSManager.java:517)

                at com.etp.dim.jms.JMSManager.<init>(JMSManager.java:72)

                at com.etp.dim.process.SenderReceiver.run(SenderReceiver.java:96)

      Tray Report : com.etp.dim.process.TrayReceiver@1c0f2e5

      jndiLookup

      1

      Exception in thread "Thread-6" java.lang.NoClassDefFoundError: Lorg/hornetq/core/logging/Logger;

                at java.lang.Class.getDeclaredFields0(Native Method)

                at java.lang.Class.privateGetDeclaredFields(Unknown Source)

                at java.lang.Class.getDeclaredField(Unknown Source)

                at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)

                at java.io.ObjectStreamClass.access$700(Unknown Source)

                at java.io.ObjectStreamClass$2.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.io.ObjectStreamClass.<init>(Unknown Source)

                at java.io.ObjectStreamClass.lookup(Unknown Source)

                at java.io.ObjectStreamClass.initNonProxy(Unknown Source)

                at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)

                at java.io.ObjectInputStream.readClassDesc(Unknown Source)

                at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)

                at java.io.ObjectInputStream.readObject0(Unknown Source)

                at java.io.ObjectInputStream.readObject(Unknown Source)

                at org.hornetq.jms.referenceable.SerializableObjectRefAddr.deserialize(SerializableObjectRefAddr.java:79)

                at org.hornetq.jms.referenceable.ConnectionFactoryObjectFactory.getObjectInstance(ConnectionFactoryObjectFactory.java:43)

                at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)

                at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1110)

                at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1127)

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:690)

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)

                at javax.naming.InitialContext.lookup(Unknown Source)

                at com.etp.dim.jms.JMSManager.jndiLookup(JMSManager.java:1371)

                at com.etp.dim.jms.JMSManager.getQueueConnectionFactory(JMSManager.java:1347)

                at com.etp.dim.jms.JMSManager.connectToJMS(JMSManager.java:517)

                at com.etp.dim.jms.JMSManager.<init>(JMSManager.java:72)

                at com.etp.dim.process.SenderReceiver.run(SenderReceiver.java:96)

       

       

      i have put jboss-common-client.jar in my classpath and in the jboss's client directory, but of no use..

       

      any help will be appreciated..