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 » General IBM MQ Support » MQ two phase commit

Post new topic  Reply to topic
 MQ two phase commit « View previous topic :: View next topic » 
Author Message
pshan81
PostPosted: Wed Mar 08, 2006 4:04 am    Post subject: MQ two phase commit Reply with quote

Acolyte

Joined: 24 May 2005
Posts: 72

Will MQ two phase commit work when the database and MQ are running on different machines?I am able to perform the same when both are in the same machine.Is there any additional property that needs to be set for that to work?
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Mar 08, 2006 4:18 am    Post subject: Re: MQ two phase commit Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

pshan81 wrote:
Will MQ two phase commit work when the database and MQ are running on different machines?I am able to perform the same when both are in the same machine.Is there any additional property that needs to be set for that to work?

How is your system composed? MQ and a database? WAS, MQ and a database? TXSeries CICS, MQ and a database? Please clarify.
Back to top
View user's profile Send private message
pshan81
PostPosted: Wed Mar 08, 2006 4:41 am    Post subject: Reply with quote

Acolyte

Joined: 24 May 2005
Posts: 72

MQ and database
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Mar 08, 2006 5:08 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

pshan81 wrote:
MQ and database

The program will have to use the MQBEGIN call. This means the program will have to be local to the queue manager. However, as far as I know, most (all?) database products on MQ's supported environments list will allow XA from their remote client libraries. So, by using this facility in the database software you will be able to have MQ and database software on different machines, and have an app that coordinates 2PC transactions across both.

Disclaimer: check this with the database product manuals and/or their sales/support teams.
Back to top
View user's profile Send private message
pshan81
PostPosted: Thu Mar 09, 2006 3:57 am    Post subject: MQ two phase commit Reply with quote

Acolyte

Joined: 24 May 2005
Posts: 72

I am getting the following error in the log file specified in the mq.ini path while starting the queue manager.

<<ORACLE XA: Version 8.1.5.0.0. RM name = 'Oracle_XA'.
214115.409.1.1:
Error while trying to retrieve text for error ORA-12545
214115.409.1.1:
xaolgn_help: XAER_RMERR; OCIServerAttach failed. ORA-12545. >

QM.ini entry
--------------
XAResourceManager:
Name=abcd
SwitchFile=/opt/mqm/java/lib/jdbc/jdbcora XAOpenString=Oracle_XA+ACC=P/user/pwd+SesTm=35+LogDir=/tmp/log+threads=TRUE+DB=db
ThreadOfControl=THREAD

My MQ and DB are running in different machine(unix).I have created the switch file using the make file in /opt/mqm/java/lib/jdbc.DBA_PENDING_TRANSACTIONS permission is also set in the DB.
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 » General IBM MQ Support » MQ two phase commit
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.