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 » IBM MQ Java / JMS » Two Phase Commit

Post new topic  Reply to topic
 Two Phase Commit « View previous topic :: View next topic » 
Author Message
SpitFire
PostPosted: Fri Feb 10, 2006 4:40 am    Post subject: Two Phase Commit Reply with quote

Acolyte

Joined: 01 Aug 2005
Posts: 59
Location: India

Hi,
I would like to know what are the necessary steps I would have to follow for writing an application to demonstrate two phase commit. Basically, I have written now a Java program for demonstrating the same, and when I run it throws an exception stating "MQRC_NO_EXTERNAL_PARTICIPANTS". What is that I am overlooking here?
_________________
...: 5|71+ph1|23 :...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Feb 10, 2006 5:19 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Isn't there a sample program that does this already?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
BenR
PostPosted: Fri Feb 10, 2006 7:34 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2006
Posts: 60
Location: Hursley, UK

NO_EXTERNAL_PARTICIPANTS is a common error. Have a look at the Troubleshooting section of http://www-128.ibm.com/developerworks/websphere/library/techarticles/0601_ritchie/0601_ritchie.html

I'd guess that you haven't set THREAD_AFFINITY_PROPERTY to TRUE, or haven't configured the XAOpenString correctly
Back to top
View user's profile Send private message Visit poster's website
SpitFire
PostPosted: Wed Feb 15, 2006 1:29 am    Post subject: Reply with quote

Acolyte

Joined: 01 Aug 2005
Posts: 59
Location: India

Hi BenR,
Sorry for posting this "delayed" reply.
Thanks for the information. I had not set THREAD_AFFINITY parameter in my program and when I tried that it started working.
_________________
...: 5|71+ph1|23 :...
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 » IBM MQ Java / JMS » Two Phase Commit
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.