Hi, I was using MDB's in my appliction and application use to run on weblogic
properly. Now I tried to port my app on JBoss 4.0.1SP3 and have the following
noclassdef found error when my mdb goes to recieve the message published by my
application. Here the exception occurs from my application specific code tring
to run some xpath using dom4j
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NoClassDefFoundError: org/dom4j/xpath/DefaultXPath
at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
at org.dom4j.tree.AbstractNode.selectSingleNode(AbstractNode.java:183)
at livexp.core.LiveXPSysServiceFactory.findServiceInDoc(LiveXPSysService
Factory.java:323)
at livexp.core.LiveXPSysServiceFactory.initialize(LiveXPSysServiceFactor
y.java:156)
at livexp.core.LiveXPSysServiceFactory.(LiveXPSysServiceFactory.ja
va:56)
at livexp.core.LiveXPSysServiceFactory.getInstance(LiveXPSysServiceFacto
ry.java:78)
at livexp.core.utils.LogUtils.(LogUtils.java:22)
at livexp.services.event.JMSEventSubscriberAdaptor.(JMSEventSubscr
iberAdaptor.java:19)
at livexp.services.history.ejb.HistorySubscriberAdaptor.(HistorySu
bscriberAdaptor.java:14)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at org.jboss.ejb.Container.createBeanClassInstance(Container.java:586)
at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.j
ava:168)
... 19 more
11:48:46,818 INFO [STDOUT] [SQLCommandAbstractBase.java : 44] Enter SQLAbstr
actBase
11:48:46,865 INFO [STDOUT] [SQLCommandAbstractBase.java : 50] Exit SQLAbstra
ctBase
11:48:46,865 ERROR [JMSContainerInvoker] Exception in JMSCI message listener
javax.ejb.TransactionRolledbackLocalException: Could not instantiate bean; Cause
dByException is:
null; CausedByException is:
Could not instantiate bean; CausedByException is:
null
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:247)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:335)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
66)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityIn
terceptor.java:94)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:122)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenCont
ainer.java:389)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvo
ker.java:1077)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onM
essage(JMSContainerInvoker.java:1379)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:25
6)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMess
ageConsumer.java:904)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:16
0)
at org.jboss.mq.SpySession.run(SpySession.java:333)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:743)
at java.lang.Thread.run(Thread.java:536)
javax.ejb.EJBException: Could not instantiate bean; CausedByException is:
null
at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.j
ava:191)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message
DrivenInstanceInterceptor.java:72)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
Interceptor.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:106)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:335)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
66)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityIn
terceptor.java:94)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:122)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenCont
ainer.java:389)
at org.jboss.ejb.Container.invoke(Container.java:873)
Any help will be appreciated
Regards,
Siraj M
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907274#3907274
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907274
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user