File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes error in bean managed MDB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "error in bean managed MDB" Watch "error in bean managed MDB" New topic
Author

error in bean managed MDB

Sirish Kumar Gongal Reddy
Ranch Hand

Joined: Oct 25, 2004
Posts: 109
I am trying to replace Listner with MDB, everything is done and deployed on websphere 6, but when we send a message to queue, it is throwing following error....
[12/21/06 10:37:28:677 GMT] 000040f6 LocalTranCoor W WLTC0033W: Resource jdbc/ECLIPSE_ENV1_XADS rolled back in cleanup of LocalTransactionContainment.
[12/21/06 10:37:28:684 GMT] 000040f6 LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[12/21/06 10:37:29:025 GMT] 000040f6 ServerSession W WMSG0031E: Exception processing JMS Message for MDB InboundMessageReceiverMDB, JMSDestination jms/MQSeries/Eclipse/ECLIPSE.ISC.ENV1 : javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.websphere.csi.CSITransactionRolledbackException
com.ibm.websphere.csi.CSITransactionRolledbackException
at com.ibm.ejs.csi.BeanManaged.postInvoke(BeanManaged.java:298)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:569)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3801)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:102)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:478)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)
javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.websphere.csi.CSITransactionRolledbackException
at com.ibm.ejs.csi.BeanManaged.postInvoke(BeanManaged.java:298)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:569)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3801)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:102)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:478)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)

please help me out..
Thanks in advance..
Sirish Kumar
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10339
    
174

Is the only exception stacktrace that you are seeing? Are there any more errors? Also can you post the code inside the MDB? Also more details about your applications flow will help.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error in bean managed MDB