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 Discussion » Java Prog with Remote QM and Remote DB

Post new topic  Reply to topic
 Java Prog with Remote QM and Remote DB « View previous topic :: View next topic » 
Author Message
Shalini
PostPosted: Sun Jun 19, 2005 12:50 am    Post subject: Java Prog with Remote QM and Remote DB Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sun Jun 19, 2005 2:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Shalini
PostPosted: Sun Jun 19, 2005 7:20 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sun Jun 19, 2005 9:14 am    Post subject: Reply with quote

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
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 Discussion » Java Prog with Remote QM and Remote DB
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.