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 » Transactional State

Post new topic  Reply to topic
 Transactional State « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Wed Aug 17, 2016 1:59 pm    Post subject: Transactional State Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 541
Location: Tampa

I have a flow there is MQ, DB and Mapping nodes.

I turned off transactionallity in all the nodes, MQINPUT sez no, MQOUTPUTS say no, Compute nodes say COMMIT. the QMGR is not set up for XA.

When I run, I get to the last compute in a propagate and I am doing DB UPDATE, the node sez COMMIT. I get an exception indicating there is a prior unit of work. I cannot see where this is coming from. It is all turned off.
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Wed Aug 17, 2016 9:16 pm    Post subject: Reply with quote

Grand High Poobah

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

have you tried checking if the qmgr was ever transaction coordinator and if there is a pending transaction?
dspmqtrn -a if memory serves well...

Or may be the DB has a pending transaction on that row?

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
vishBroker
PostPosted: Sun Aug 28, 2016 8:59 am    Post subject: Reply with quote

Centurion

Joined: 08 Dec 2010
Posts: 135

How many additional instances you are running for MQ Input node.

There is possibility that two threads are trying to update the DB at the same time.
You may want to use ATOMIC block in the compute node.

Correcting - AUTOMIC -> ATOMIC
(Thanks fjb_saper)


Last edited by vishBroker on Mon Aug 29, 2016 6:14 am; edited 2 times in total
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Aug 28, 2016 8:11 pm    Post subject: Reply with quote

Grand High Poobah

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

vishBroker wrote:
How many additional instances you are running for MQ Input node.

There is possibility that two threads are trying to update the DB at the same time.
You may want to use 'AUTOMIC' block in the compute node.

I think you meant ATOMIC there...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
vishBroker
PostPosted: Mon Aug 29, 2016 6:10 am    Post subject: Reply with quote

Centurion

Joined: 08 Dec 2010
Posts: 135

Quote:
fib_saper wrote:

I think you meant ATOMIC there...


You read my mind. Thanks.
Correcting the reply.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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