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 » How to find what reason code 2372 means?

Post new topic  Reply to topic
 How to find what reason code 2372 means? « View previous topic :: View next topic » 
Author Message
PaulMraz
PostPosted: Thu Oct 25, 2001 7:24 am    Post subject: Reply with quote

Novice

Joined: 27 Aug 2001
Posts: 12

I've scoured by hard-copy manuals AND the online IBM MQSeries site, trying to find an explanation for reason code 2372 - anyone know what the source of this MQ error is?
(completion code = 1, I belive). I'm testing a new Java/MQI application...

I searched the online Application Programming Reference, and a few of the Messages and Codes manual, to no avail..

- Paul
Back to top
View user's profile Send private message
bduncan
PostPosted: Thu Oct 25, 2001 10:01 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Paul,
I've found no reference to that reason code either. Perhaps if you could supply a few more details, like what specific MQI call caused this reason code to be returned? Also, do you have a function in the particular API you are using to return the english equivalent? Perhaps 2372 isn't in the manuals but it is programmed into the APIs...


_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
EddieA
PostPosted: Thu Oct 25, 2001 10:07 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

It's: MQRC_PARTICIPANT_NOT_DEFINED.

Something's not set up correctly for a XA 2 phase commit.

Cheers.

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
PaulMraz
PostPosted: Thu Oct 25, 2001 12:00 pm    Post subject: Reply with quote

Novice

Joined: 27 Aug 2001
Posts: 12

I encountered this MQException testing my base Java/MQI application, and it's getting this error executing an MQQueueManager begin method (We're running MQSeries V5.2.1 on an NT server environment; it's running right on the server, no client bindings; it will attempt inserts into an Oracle 8 database, although it did not get that far in the code this run).

I moved the begin() call up just before my MQQueue get command, so that the GET would fall inside the unit of work (in case of need to back out, the message would be restored). The application ran OK before I put the begin() there.

I did not look into defining MQBO begin options with this, since the only option definable was MQBO_NONE. I see that the completion code is 1, a warning - is this one that can/should be ignored?

Eddie - where did you find that 2372 is MQRC_PARTICIPANT_NOT_DEFINED? I really couldn't locate it in any online manuals I searched!

Thanks for the help, all. Is it possible that I don't need the begin() at all? It seemed to me that I did, but if the unit of work would be fine without it (from the last commit), that would be OK. Sure wonder why this reason code is popping up, though...

- Paul
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Nov 01, 2001 7:51 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Paul,

It's was in an internal IBM database , with a comment that it needs to be put in the next version of the README.

It would only come from an MQBEGIN (or the equivalent in JAVA/JMS etc.). That call says that you want MQ to start a unit-of-work and also to act as a resource co-ordinator for MQ, together with an external resource manager, like a database.

My guess is that the setup required for this has either not been done, or not done correctly.

Unless you are asking MQ to act as a global co-ordinator, then there is no need for an MQBEGIN. In fact, if MQ hasn't been set up to act in this mode, then an MQBEGIN will give a warning with a reason code of MQRC_NO_EXTERNAL_PARTICIPANTS (2121, X'0849').

Cheers.

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
srini
PostPosted: Mon Mar 04, 2002 2:28 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2002
Posts: 1
Location: INDIA

Hi Eddie,

I am testing MQGlobal Transactions with Oracle8i(8.1.7), MqSeries Server5.2 on NT work station & MQBaseJava.
I have made all the setup required to test this one, I am pasting here log(Amqerr01) msg here ...

02/26/02 14:56:06
AMQ8003: MQSeries queue manager 'QM_dbasavaiah' started.

EXPLANATION:
MQSeries queue manager 'QM_dbasavaiah' started.
ACTION:
None.
----------------------------------------
02/26/02 14:56:07
AMQ9410: Repository manager started

EXPLANATION:
The repository manager started successfully.
ACTION:
None.
-------------------------------------------
I am getting following msg while running the java application...
MQJE001: Completion Code 0, Reason 2372
An MQSeries error occurred :Completion code

I have gone thru ur comments on this link
http://www.mqseries.net/phpBB/viewtopic.php?topic=620&forum=12&3

I am not getting the problem, Pls can you suggest me.

Thanks
srini
Back to top
View user's profile Send private message AIM Address MSN Messenger
abmanesh
PostPosted: Mon Mar 04, 2002 7:12 am    Post subject: Reply with quote

Apprentice

Joined: 06 Nov 2001
Posts: 39

We had opened a PMR with IBM on XA-Transaction using MQ Java API in late 2000. As far I know even if the begin() method and all the instruction are there on setting it up, Two phase commit support is not supported with MQ Java API. We were using MQ 5.1 at that time. We did check back with IBM Support last October and the answer was the same ( no support from Java API).

Is there any one who got it working with Java API ?

Back to top
View user's profile Send private message Send e-mail
CodeCraft
PostPosted: Sun Apr 14, 2002 10:28 am    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

Follow on:

http://www.mqseries.net/phpBB/viewtopic.php?topic=579&forum=4
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 » How to find what reason code 2372 means?
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.