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 Index » WebSphere Message Broker (ACE) Support » Transaction Issue

Post new topic  Reply to topic
 Transaction Issue « View previous topic :: View next topic » 
Author Message
Dhiren
PostPosted: Wed Aug 10, 2005 3:56 am    Post subject: Transaction Issue Reply with quote

Novice

Joined: 27 Jan 2005
Posts: 17

My message flow updates about 7 db2 tables. The flow ends with a compute node that has the esql to insert data into the 7 tables. The Transaction property of this node is set to " Commit ".

Scenario:
Say there are 5 messages to be picked from the input queue and each message update some or all 7 tables depending upon the message content.
This works fine... the message either updates some/all the tables it is required to update or it fails if the message is wrong .

But at times (Very rarely) one of the messages (the first put) is routed to the failure queue with an exception " Transaction will be committed, but a pending automatic transaction exists"
If the same failed message is routed back to the input of the flow , it successfully updates the tables.

Since this does not occur always and the flow works as desired most of the times, it is difficult to simulate the scene.

Any help would be most gratefully received!
Back to top
View user's profile Send private message Yahoo Messenger
recallsunny
PostPosted: Wed Aug 10, 2005 8:02 am    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts


In your flow, does any other Compute node use the Automatic Transactionality with the same database and datasource ? If that is the case, try using different datasource in that Node. (Of course you will have to deal with the Db locking issues.)

Second thing, does your flow run multiple threads..?

Back to top
View user's profile Send private message
Dhiren
PostPosted: Wed Aug 10, 2005 9:36 pm    Post subject: Reply with quote

Novice

Joined: 27 Jan 2005
Posts: 17

Hi , thank you so much for your time first of all.

No my flow does not have any other compute node that use the Automatic Transactionality with the same database and datasource.

It does not run multiple threads either....
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Transaction Issue
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.