|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
xa_open() concept - who calls this routine ? |
« View previous topic :: View next topic » |
Author |
Message
|
sebastia |
Posted: Sun Mar 31, 2013 3:34 am Post subject: xa_open() concept - who calls this routine ? |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi. I have a XA concept shadow ...
In XA spec document
>>> http://pubs.opengroup.org/onlinepubs/009680699/toc.pdf
... I read ...
Quote: |
In each thread of control, the TM must call xa_open() for each RM directly accessible by that thread before calling any other xa_ routine. |
So, I understand TM is calling xa_open() for all RM's
But when queue manager starts, in AMQERR01.LOG we get a message
Quote: |
AMQ7605: The XA resource manager bwbd56 has returned an unexpected return code -5, when called for xa_open.
EXPLANATION: WebSphere MQ received an unexpected return code when calling XA resource manager bwbd56 at its xa_open entry point. |
So, the sequence of events has been
1) queue manager starts
2) somehow TM is aware of this fact
3) TM calls RM "bwbd56" (Oracle in fact) with mq's XA_Open_String from qm.ini
I have 2 questions, at least :
1) how does TM know mq has started ?
2) how does TM receive XAOpenString from QM.INI ?
Sebastian. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Mar 31, 2013 6:22 pm Post subject: Re: xa_open() concept - who calls this routine ? |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
sebastia wrote: |
1) how does TM know mq has started ? |
At qmgr restart, the qmgr (RM) registers with the TM. Search the document you referenced for 'register.'
sebastia wrote: |
2) how does TM receive XAOpenString from QM.INI ?
|
IMS, it flows as part of the qmgr (RM) registration process. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|