|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Java Prog with Remote QM and Remote DB |
« View previous topic :: View next topic » |
Author |
Message
|
Shalini |
Posted: Sun Jun 19, 2005 12:50 am Post subject: Java Prog with Remote QM and Remote DB |
|
|
Master
Joined: 30 Apr 2002 Posts: 224 Location: India
|
Hi,
MQ 5.3 CSD9
Data base : IBM DB2
I want to test a System within "SYNC" with
1) Java Application in Node A
2) DB2 in Node B
3) MQSeries in Node C.
All should be in sync ie in my java Application I have written code for MQ BEGIN and Rollback and commit etc in the Java....
Currently Iam doing testing all in one system in a test system ie DB2 MQ and Java all in one system...
As a beginer to Sync transaction I need Ur input on the follwing..
1) Does the situation above described is supported ???? by DB2 and MQ
2) Is that I have to add some external transaction unit in my system ???
 |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Jun 19, 2005 2:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can not do two-phase commit with the regular MQ client, so the Java application would have to be on the same "node" as the MQSeries Server. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Shalini |
Posted: Sun Jun 19, 2005 7:20 am Post subject: |
|
|
Master
Joined: 30 Apr 2002 Posts: 224 Location: India
|
Hi,
[/quote]You can not do two-phase commit with the regular MQ client, so the Java application would have to be on the same "node" as the MQSeries Server.
Quote: |
Is there any other way to resolve the issue
|
|
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Jun 19, 2005 9:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There are many ways to resolve the situation. There is no way to make it work <i>exactly</i> how you have specified, though.
You can either pay for a license for the queue manager to be on the same machine, or you can pay for a license for the Extended Transactional Client to be on the machine with the Java application. Oddly enough, the cost for both of these is pretty much the same.
Or you can change the location of the queue manager or the java application so they are on the same machine.
Or you can live with not-quite-globally-coordinated transactions. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|