[jboss-user] [Messaging, JMS & JBossMQ] - Exception in JMSCI message listener

bindiya123 do-not-reply at jboss.com
Tue Sep 19 10:27:04 EDT 2006


Hi

I have created MDB and deployed it in jboss portal 2.4 final. When MDB receives message it gives me following error.

09:47:24,127 ERROR [JMSContainerInvoker] Exception in JMSCI message listener
javax.ejb.TransactionRolledbackLocalException: Could not instantiate bean
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInt
rceptor.java:262)
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterce
torCMT.java:350)
        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:
81)
        at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityI
terceptor.java:109)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFact
ryFinderInterceptor.java:136)
        at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenCon
ainer.java:402)
        at org.jboss.ejb.Container.invoke(Container.java:954)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInv
ker.java:987)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.on
essage(JMSContainerInvoker.java:1287)
        at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:2
6)
        at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMes
ageConsumer.java:902)
        at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:1
0)
        at org.jboss.mq.SpySession.run(SpySession.java:323)
        at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExe
utor.java:748)
        at java.lang.Thread.run(Thread.java:595)
Caused by: javax.ejb.EJBException: Could not instantiate bean
        at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.
ava:206)
        at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Messag
DrivenInstanceInterceptor.java:87)
        at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidatio
Interceptor.java:63)
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInt
rceptor.java:121)
        ... 16 more
Caused by: java.lang.reflect.UndeclaredThrowableException
        at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.
ava:204)
        ... 19 more
Caused by: java.lang.StackOverflowError
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
        at com.daiwausa.cashweb.mdb.dao.CashwebDAO.(CashwebDAO.java:26)
        at com.daiwausa.cashweb.mdb.bean.CashwebMDB.(CashwebMDB.java:44)
.
..
.
.

Can anyone say whats going wrong here?

Thanks,
Bindiya

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972592#3972592

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972592



More information about the jboss-user mailing list