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 Installation/Configuration Support » use of MQBEGIN

Post new topic  Reply to topic
 use of MQBEGIN « View previous topic :: View next topic » 
Author Message
zigeesha
PostPosted: Wed Sep 29, 2004 8:05 am    Post subject: use of MQBEGIN Reply with quote

Apprentice

Joined: 16 Aug 2004
Posts: 32
Location: california

HI all,

Can anyone explain the use of MQBEGIN ..and how I can use it in a java code.

Thx a lot
lakshmi
Back to top
View user's profile Send private message AIM Address
bower5932
PostPosted: Wed Sep 29, 2004 8:20 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

MQBEGIN is used in a two-phase commit environment to notify the queue manager that it will need to start a transaction involving multiple resources (ie, itself and a DB).

There is a sample program at:

http://www.developer.ibm.com/tech/sampmq.html

It is called mqdb2log.java. You might want to look at it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
zigeesha
PostPosted: Thu Sep 30, 2004 8:41 am    Post subject: how do i register the participating resource managers? Reply with quote

Apprentice

Joined: 16 Aug 2004
Posts: 32
Location: california

Hi ,

The example code was very helpful .but again when i executed the program i had a exception with reason code 2121 .I went ahead to check the error messages which indicates that" no participating resource managers have been registered with the queue manager"

I am working on MQ v5.3 on Linux ..can iu plz suggest as to how i can define the participating resource managers to my Queue Manager....

lakshmi
Back to top
View user's profile Send private message AIM Address
kirani
PostPosted: Thu Sep 30, 2004 8:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

There is a chapter in System Admin Guide which explains in detail how to setup queue manager for 2-phase commit.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Nigelg
PostPosted: Thu Sep 30, 2004 11:52 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

The chapter that Kirani is referring to is CH 11 Transactional Support. A resource manager is defined to the qmgr acting as the transaction manager by adding an XAResource stanzas to qm.ini.
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 Installation/Configuration Support » use of MQBEGIN
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.