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 » Need help writing a java adapter using XA

Post new topic  Reply to topic
 Need help writing a java adapter using XA « View previous topic :: View next topic » 
Author Message
kamy
PostPosted: Tue Jun 18, 2002 5:29 pm    Post subject: Need help writing a java adapter using XA Reply with quote

Novice

Joined: 26 Oct 2001
Posts: 21

I am having this issue when I am trying to test the sample program provided by IBM Name: mqdb2log.java.tar.gz

I am unable to compile this program in websphere test environment, the method getJDBCCOnnection does'nt exist in the MQuemanger class provided in the ibm.com.mq jar file.
The environment I am trying to run this example is
MQSeries version 5.1( Windows NT)
DB2 UDB version 6.1
Websphere test environment( JVM standard version)

I downloader the MA088 supportpac from IBM site for server version 5.2 and installed it on in the current installation(version 5.1) /MQseries/java/ library is there an issue ?

I looked at the ma088 supportpac's documentation for MQSereies server version 5.2
Why doe'nt the class MQQueueManager list the getJDBCConnection method?
Do we really need this method to begin a xa transaction with the queuemanagere to act as the txn coordinator?

I would really appreciate any feedback / help ..

thx
- Kamy
Back to top
View user's profile Send private message Send e-mail
amurugan
PostPosted: Tue Jun 18, 2002 6:49 pm    Post subject: Reply with quote

Voyager

Joined: 10 Sep 2001
Posts: 75
Location: india

hi kamy ,
if you are going to use mqseries as transaction manager to db2 then you need not using the xa capabilities of db2 rather you have to do some configuration the qm.inin giving the name of the switch file of the db2 and placing the switch in the appropriate directiry in db2 . it is well explained in the mq docs . kindly have a look at it . After you have configured it , you can use queue.commit() aqnd queue.rollback() to control the transactions across the database and the queues . let me knwo whether this helped you .

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 » Need help writing a java adapter using XA
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.