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 » XA and JMS

Post new topic  Reply to topic
 XA and JMS « View previous topic :: View next topic » 
Author Message
Sandy
PostPosted: Mon Apr 29, 2002 11:46 am    Post subject: Reply with quote

Newbie

Joined: 28 Apr 2002
Posts: 4

Does anybody have an example of an XA transaction with an MQ Manager as the transaction coordinator between a 'PUT' or 'GET' message and an update to oracle 8.1.x (i.e. oracle and MQ as resource managers). Does Java API provide XA support or JMS must be used?
If JMS is used can the MQ program that initiates the transaction be located on a different machine than the MQ Server or must be co-located on the same machine as MQ Server. I am NOT using an EJB type environment, Just Java.
An early response will be highly appreciated.
Back to top
View user's profile Send private message
amurugan
PostPosted: Wed May 08, 2002 12:23 am    Post subject: Reply with quote

Voyager

Joined: 10 Sep 2001
Posts: 75
Location: india

hi ,
You can do xa transactions in jms using mqseries as transaction manager with the resource manager as database . to do this you got to set get switch file program for oracle compile it and then edit the XAResourcemanager stanza in the qm.ini , the DDL for which is found in the lib/jdbc folder of your jms installation directory and then code your apis MQQueueManager .getJDBCConnection() which takes DataSource as one of the patrameters and then you can begin your transaction and proceeed . the information is available in the mqseries java pdf . kindly look into it . lemme know if this helps u . Make sure you are using the latest mqseries jms software if not download it now and then use it bcos earlier versions of mqjava does not have this facility and you will not be able to find a jdbc folder in the installed directory .

cheers,
murugan
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
sanjays30
PostPosted: Wed May 15, 2002 10:20 am    Post subject: Reply with quote

Novice

Joined: 05 May 2002
Posts: 18
Location: USA

I am using MQ JMS, Websphere, SQL Server all with XA. I can answer part of your question. I guess with JMS you need external Transaction Co-ordinator like Websphere and MQ Server and Websphere should be installed on the Same Box. That is the limitation for using XA with MQ JMS
Back to top
View user's profile Send private message
amurugan
PostPosted: Wed May 15, 2002 5:57 pm    Post subject: Reply with quote

Voyager

Joined: 10 Sep 2001
Posts: 75
Location: india

hi sanjay ,
since you have websphere and mq series , you can use websphere's JTA to corridnate with mqseries . just go thru the documentation . i am sure its available . let me know whether do you face any problems .

Regards,
Murugan
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
amurugan
PostPosted: Wed May 15, 2002 5:57 pm    Post subject: Reply with quote

Voyager

Joined: 10 Sep 2001
Posts: 75
Location: india

hi sanjay ,
since you have websphere and mq series , you can use websphere's JTA to corridnate with mqseries . just go thru the documentation . i am sure its available . let me know whether do you face any problems .

Regards,
Murugan
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » XA and JMS
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.