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 » 2122 - MQRC_PARTICIPANT_NOT_AVAILABLE

Post new topic  Reply to topic
 2122 - MQRC_PARTICIPANT_NOT_AVAILABLE « View previous topic :: View next topic » 
Author Message
Mariusz Szurnacki
PostPosted: Mon May 27, 2002 3:56 am    Post subject: 2122 - MQRC_PARTICIPANT_NOT_AVAILABLE Reply with quote

Novice

Joined: 18 Apr 2002
Posts: 10
Location: Poland

Hi!!!

I'm playing with XA transactions now and I have the following
problem with it: I can't get rid of the MQRC error: 2122 -
MQRC_PARTICIPANT_NOT_AVAILABLE (it's a MQSeries error, all details are given below).


Our environment (HP-UX 11i platform):
- IBM UDB DB2 7.1 (FP6 U481412)
- IBM MQSeries (without DCE, because of performance problems and
it doesn't work with Oracle thread modeling well) (fix U480850)
- IBM WebSphere MQ Integrator 2.1 (fix U482017)
- Oracle9i Enterprise Edition Release 9.0.1.3.0
- Merant ODBC driver (Version 4.00 for UNIX)


Note:
1. Our test environment works fine. All message flows work without any problems until the Coordinated Transaction option is checked.
I prepared a simple message flow that inserts some data into our Oracle database. It works fine. But if I check the Coordinated Transaction option in Properties on Assignments tab in WMQI, then I receive the MQRC_PARTICIPANT_NOT_AVAILABLE error.

2. My broker user has rights to DBA_PENDING_TRANSACTIONS view.

3. My broker user has the CREATE SESSION privilege.

4. XA stanza from my qm.ini file:

XAResourceManager:
Name=orahelios1
SwitchFile=/MQHA/qm2/mqsi/merant/lib/libSwitchOracle.sl
XAOpenString=ORACLE_XA+ACC=P/login/password+sestm=0+threads=TRUE+DB=XAODS
ThreadOfControl=THREAD

Thr second version has specified SQLNET parameter:
XAOpenString=ORACLE_XA+SQLNET=server_name@ORCL9+ACC=P/login/password+sestm=0+threads=TRUE+DB=XAODS

Of cource, there are correct data instead of serve_name, login and password in our qm.ini file.


5. Although I specified LogDir and DbgFl parameters like this:
XAOpenString=ORACLE_XA+ACC=P/login/password+sestm=0+threads=TRUE+DB=XAODS+LogDir=/var/mqm/qmgrs/CRMA_QM+DbgFl=15

I coudn't received log file.

6. There is provided a symbolic link to libclntsh.sl from /usr/lib.

7. My broker user has rights to v$xatrans$ and v$pending_xatrans$ views.

8. The following lines were added to my broker user .profile file:
export ORACLE_HOME=/MQHA/qm2/oracle9i/9i
export ORACLE_SID=ORCL9


These a few lines comes from syslog:
<SYSLOG>
May 23 05:25:53 helios1 WMQIv210[29583]: (CRMA.grupa)[16]BIP2633W: Warning when starting transaction coordinated by MQSeries; MQBEGIN failed: MQCC=1; MQRC=2122; node 'XA_test.SourceQueue'. : CRMA.ed8e4fee-ed00-0000-0080-ec11f09d29bb: /build
/S210_P/src/DataFlowEngine/ImbMqInputNode.cpp: 774: ImbMqInputNode::readQueue: ComIbmMQInputNode: b757b26e-eb00-0000-0080-ec11f09d29bb
</SYSLOG>


And here is an error from MQ:
<MQ>
AMQ7604: The XA resource manager 'OraHelios1' was not available when called for xa_open. The queue manager is continuing without this resource manager.
</MQ>


Info about the 2122 error from MQ docs:
<DOCS>
MQRC_PARTICIPANT_NOT_AVAILABLE
An MQBEGIN call was issued to start a unit of work coordinated by the queue manager, but
one or more of the participating resource managers that had been registered with the queue
manager is not available. As a result, changes to those resources cannot be coordinated by the
queue manager in the unit of work.
This reason code occurs in the following environments: AIX, HP-UX, OS/2, AS/400, Sun
Solaris, Windows NT.
Corrective action: If the application does not require non-MQSeries resources to participate in
the unit of work, this reason code can be ignored. Otherwise consult your system support
programmer to determine why the required resource managers are not available. The resource
manager may have been halted temporarily, or there may be an error in the queue manager’s
configuration file.
</DOCS>


I would be really grateful for any advices.


Best regards,
Mariusz
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Tue May 28, 2002 8:06 pm    Post subject: Reply with quote

Jedi Knight

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

Mariusz,
What version of MQSeries are you using? I don't think Oracle 9i is supported by MQSeries 5.2 for coordinated transactions.

Regards,
_________________
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
Mariusz Szurnacki
PostPosted: Tue May 28, 2002 11:37 pm    Post subject: Reply with quote

Novice

Joined: 18 Apr 2002
Posts: 10
Location: Poland

Hi!!!

We are using MQSeries 5.2. According to its documentation:
MQSeries System Administration, page 162 - Chapter 12. Transactional support: "The minimum supported level of Oracle on HP-UX is 7.3.2.3.".

My friend tested XA with MQSeries with 9i and he didn't receive a such error.
I use WMQI and I have to use the switch file that is provided with WMQI.

But today I'm going to test it using Oracle 8i as well.

Regards,
Mariusz
Back to top
View user's profile Send private message Send e-mail
Mariusz Szurnacki
PostPosted: Wed May 29, 2002 6:52 am    Post subject: Reply with quote

Novice

Joined: 18 Apr 2002
Posts: 10
Location: Poland

Hi!!!

I tested XA with Oracle8i Enterprise Edition Release 8.1.7 too.
Unfortunately I received the same error

Bye,
Mariusz
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Wed May 29, 2002 6:45 pm    Post subject: Reply with quote

Jedi Knight

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

Hi Mariusz,

My apologies, I was going thru IBM site and came across some information, which says Oracle 9i is supported on MQSeries for HP-UX V5.2 plus CSD3. Do you have CSD3 installed on your server?

Sorry to hear about your testing with 8.1.7. I think your switch file is not created properly. Make sure you are linking with correct version of the DB library.

Regards,
_________________
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
filusza
PostPosted: Thu Jul 04, 2002 12:48 am    Post subject: Reply with quote

Newbie

Joined: 04 Jul 2002
Posts: 2

Mariusz Szurnacki wrote:

I tested XA with Oracle8i Enterprise Edition Release 8.1.7 too.
Unfortunately I received the same error


Hi, Mariusz!!!

Have you executed "mqsi_setupdatabase" script against your Oracle database? It is required to create links in /var/wmqi/lib to allow XA
switch load files to load and execute.

I'm sure you executed it against your broker database server, but you have to execute it against every database server which will be working as resource manager during XA transaction too.

1. Use switch file provided with WMQI.

2. So execute the following command:

mqsi_setupdatabase oracle $ORACLE_HOME

3. Changed ownership and/or permissions for "bin" folder under "/var/wmqi/lib" path that links would be accessible to the queue manager and/or broker.

I hope I was helpful.

Have a nice day,
Andy
_________________
Andrzej Filusz
PROKOM Software SA
Poland
filusza@prokom.pl
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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