Posted: Tue Jun 18, 2002 5:29 pm Post subject: Need help writing a java adapter using XA
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?
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 .
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