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 API Support » MQ Begin Error Code 2121

Post new topic  Reply to topic
 MQ Begin Error Code 2121 « View previous topic :: View next topic » 
Author Message
P_Guru
PostPosted: Tue Jan 17, 2006 7:33 pm    Post subject: MQ Begin Error Code 2121 Reply with quote

Newbie

Joined: 17 Jan 2006
Posts: 1

Hi All,

I tried to do two phase commit with MQ5.2 and Solaris. After a long struggle for setting up XA Resource and XA String , the quemanager was started without any error.

But when the command qmgr.begin() executes I'm getting the error 2121
MQRC_NO_EXTERNAL_PARTICIPANTS

The way I'm getting the db connection.

OracleXADataSource ds = new OracleXADataSource();
ds.setUser("bccrad");
ds.setPassword("bccrad");
ds.setURL("jdbc:oracle:thin:@202.60.218.100:1521:RADDEV");
Connection con = qMgr.getJDBCConnection((javax.sql.XADataSource)ds);

qMgr.begin(); - Error 2121

If I comment the qmgr.begin() the I can able get the db connection by using qmanager object and i can insert a record without any error.

I believe qmanager can able to connect oracle and return a db connection with its object.

But it wont allow me to do qmgr.begin()

Please help me to resolve this issue...

Thanks in Advance
Guru
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
venci
PostPosted: Mon Jan 22, 2007 7:31 am    Post subject: Reply with quote

Newbie

Joined: 11 Jan 2007
Posts: 4
Location: Sofia,Bulgaria, EU

2121 MQRC_NO_EXTERNAL_PARTICIPANTS means that your configuration is invalid.check your oracle open string in qm.ini
"XAOpenString"="Oracle_XA+SqlNet=orcl+Acc=P/user/password+SesTm=35+LogDir=/logdir+threads=false+dbgFl=0x15"
read about http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_xa.htm
Back to top
View user's profile Send private message
mvic
PostPosted: Mon Jan 22, 2007 12:46 pm    Post subject: Re: MQ Begin Error Code 2121 Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Check out the available information in the MQ manuals (System Administration Guide and Using Java manuals) and there is also a good article on developerWorks that might help: http://www-128.ibm.com/developerworks/websphere/library/techarticles/0601_ritchie/0601_ritchie.html
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 API Support » MQ Begin Error Code 2121
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.