ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexGeneral DiscussionTransactional problem in WBISF-process choreography

Post new topicReply to topic
Transactional problem in WBISF-process choreography View previous topic :: View next topic
Author Message
guest123a
PostPosted: Tue Dec 20, 2005 12:15 pm Post subject: Transactional problem in WBISF-process choreography Reply with quote

Newbie

Joined: 16 Aug 2005
Posts: 8

Work bench:
WBISF-PRocessChoreoraphy
WSADIE
Windows
DB2

Any recommendations on how EJB Transactions should be configured for the Web Service EJB and on the bpel activities?

So far we use the default of CommitAfter in the bpel and in the web service EJB we use “Requires New.”

The problem we are having is the web service EJB commits the transaction, but the Business Process side thinks an error has occurred and we get the exception listed below. Then the business process (because Continue on error was unset), will retry, causing several calls back to the web service, each time committing a database call in the EJB web service.

Here is the error:
[12/16/05 4:31:58:933 PST] 29c0b3a0 ServerSession W WMSG0031E: Exception processing JMS Message for MDB ProcessContainer MDB, JMSDestination jms/BPEIntQueue : javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.ws.exception.WsEJBException

com.ibm.ws.exception.WsEJBException

at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapException(LocalExceptionMappingStrategy.java:159)

at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapCSITransactionRolledBackException(LocalExceptionMappingStrategy.java:293)

at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3159)

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:375)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)

javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.ws.exception.WsEJBException

at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapCSIException(LocalExceptionMappingStrategy.java:96)

at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapException(LocalExceptionMappingStrategy.java:165)

at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapCSITransactionRolledBackException(LocalExceptionMappingStrategy.java:293)

at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3159)

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:375)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)

appreciate your help.

Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 20, 2005 2:51 pm Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Set it to mandatory (required) instead of requires new and it will participate in the transaction engineered by the bpel server.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral DiscussionTransactional problem in WBISF-process choreography
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.