1 Reply Latest reply on May 10, 2004 6:19 PM by cuddles

    NoClassDefFoundError on 3.2.3 when instantiating JDOMXPath

    cuddles Newbie

      I have a MessageDrivenBean deployed. I get an exception whenever my MDB tries to instantiate JDOMXPath in another class. The full stack trace is included below. I have tried the following:

      1. Putting jaxen-jdom.jar and jaxen-core.jar in:
      a. $JBOSS_ROOT/lib
      b. $JBOSS_ROOT/server/default/lib
      c. $JBOSS_ROOT/server/default/deploy
      d. in my applications .ear file

      What am I missing or misconfiguring such that I can't access my jaxen classes?

      Thanks!

      [java] 14:14:40,117 ERROR [LogInterceptor] Unexpected Error:
      [java] java.lang.NoClassDefFoundError: org/jaxen/JaxenException
      [java] at com.epiphany.qa.eai.infr.xsys.cfg.Config.getPropRefs(Unknown
      Source)
      [java] at com.epiphany.qa.eai.infr.xsys.cfg.Config.processPropRefs(Unkn
      own Source)
      [java] at com.epiphany.qa.eai.infr.xsys.cfg.Config.(Unknown Sourc
      e)
      [java] at com.epiphany.qa.eai.infr.xsys.channel.doc.ConsumerHandler.<in
      it>(ConsumerHandler.java:72)
      [java] at com.epiphany.qa.eai.infr.xsys.channel.doc.ConsumerHandler.<in
      it>(ConsumerHandler.java:77)
      [java] at com.epiphany.qa.eai.app.itsa.ejb.jms.ItsaMessageBean.ejbCreat
      e(ItsaMessageBean.java:53)
      [java] at java.lang.reflect.Method.invoke(Native Method)
      [java] at org.jboss.ejb.MessageDrivenEnterpriseContext.(MessageDr
      ivenEnterpriseContext.java:66)
      [java] at org.jboss.ejb.plugins.MessageDrivenInstancePool.create(Messag
      eDrivenInstancePool.java:36)
      [java] at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstan
      cePool.java:168)
      [java] at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke
      (MessageDrivenInstanceInterceptor.java:48)
      [java] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(Abstra
      ctTxInterceptor.java:84)
      [java] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Tx
      InterceptorCMT.java:240)
      [java] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCM
      T.java:128)
      [java] at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSe
      curityInterceptor.java:90)
      [java] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.ja
      va:191)
      [java] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Pr
      oxyFactoryFinderInterceptor.java:122)
      [java] at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDr
      ivenContainer.java:374)
      [java] at org.jboss.ejb.Container.invoke(Container.java:700)
      [java] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSConta
      inerInvoker.java:824)
      [java] at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListener
      Impl.onMessage(JMSContainerInvoker.java:1114)
      [java] at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession
      .java:256)
      [java] at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage
      (SpyMessageConsumer.java:633)
      [java] at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer
      .java:433)
      [java] at org.jboss.mq.SpySession.run(SpySession.java:298)
      [java] at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:
      180)
      [java] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Po
      oledExecutor.java:727)
      [java] at java.lang.Thread.run(Thread.java:479)
      [java] 14:14:40,217 ERROR [JMSContainerInvoker] Exception in JMSCI message
      listener
      [java] javax.ejb.EJBException: Unexpected Error
      [java] java.lang.NoClassDefFoundError: org/jaxen/JaxenException
      [java] at com.epiphany.qa.eai.infr.xsys.cfg.Config.getPropRefs(Unknown
      Source)
      [java] at com.epiphany.qa.eai.infr.xsys.cfg.Config.processPropRefs(Unkn
      own Source)
      [java] at com.epiphany.qa.eai.infr.xsys.cfg.Config.(Unknown Sourc
      e)
      [java] at com.epiphany.qa.eai.infr.xsys.channel.doc.ConsumerHandler.<in
      it>(ConsumerHandler.java:72)
      [java] at com.epiphany.qa.eai.infr.xsys.channel.doc.ConsumerHandler.<in
      it>(ConsumerHandler.java:77)
      [java] at com.epiphany.qa.eai.app.itsa.ejb.jms.ItsaMessageBean.ejbCreat
      e(ItsaMessageBean.java:53)
      [java] at java.lang.reflect.Method.invoke(Native Method)
      [java] at org.jboss.ejb.MessageDrivenEnterpriseContext.(MessageDr
      ivenEnterpriseContext.java:66)
      [java] at org.jboss.ejb.plugins.MessageDrivenInstancePool.create(Messag
      eDrivenInstancePool.java:36)
      [java] at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstan
      cePool.java:168)
      [java] at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke
      (MessageDrivenInstanceInterceptor.java:48)
      [java] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(Abstra
      ctTxInterceptor.java:84)
      [java] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Tx
      InterceptorCMT.java:240)
      [java] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCM
      T.java:128)
      [java] at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSe
      curityInterceptor.java:90)
      [java] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.ja
      va:191)
      [java] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Pr
      oxyFactoryFinderInterceptor.java:122)
      [java] at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDr
      ivenContainer.java:374)
      [java] at org.jboss.ejb.Container.invoke(Container.java:700)
      [java] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSConta
      inerInvoker.java:824)
      [java] at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListener
      Impl.onMessage(JMSContainerInvoker.java:1114)
      [java] at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession
      .java:256)
      [java] at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage
      (SpyMessageConsumer.java:633)
      [java] at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer
      .java:433)
      [java] at org.jboss.mq.SpySession.run(SpySession.java:298)
      [java] at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:
      180)
      [java] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Po
      oledExecutor.java:727)
      [java] at java.lang.Thread.run(Thread.java:479)

      [java] at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInter
      ceptor.java:370)
      [java] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.ja
      va:195)
      [java] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Pr
      oxyFactoryFinderInterceptor.java:122)
      [java] at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDr
      ivenContainer.java:374)
      [java] at org.jboss.ejb.Container.invoke(Container.java:700)
      [java] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSConta
      inerInvoker.java:824)
      [java] at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListener
      Impl.onMessage(JMSContainerInvoker.java:1114)
      [java] at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession
      .java:256)
      [java] at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage
      (SpyMessageConsumer.java:633)
      [java] at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer
      .java:433)
      [java] at org.jboss.mq.SpySession.run(SpySession.java:298)
      [java] at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:
      180)
      [java] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Po
      oledExecutor.java:727)
      [java] at java.lang.Thread.run(Thread.java:479)