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 transaction from JAVA.?

Post new topic  Reply to topic
 XA transaction from JAVA.? « View previous topic :: View next topic » 
Author Message
paatchu
PostPosted: Mon Apr 02, 2007 1:33 am    Post subject: XA transaction from JAVA.? Reply with quote

Apprentice

Joined: 07 Sep 2006
Posts: 32

I have few doubts.
1) Can the XA transactions can be manipulated just with JAVA MQ Base class.?
2) javax.transaction.xa.* & javax.sql.XADataSource; were actually JTA.?

pls give some light on this subject pls.
_________________
Poetry with Programming
Back to top
View user's profile Send private message
BenR
PostPosted: Mon Apr 02, 2007 2:03 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2006
Posts: 60
Location: Hursley, UK

The base Java classes allow WMQ to be transaction manager for an XA transaction involving WMQ and a supported database. For example, you could write code to consume a message and update a database table; if the database update failed, the transaction would be backed out and the message would be rolled back on to a queue. No external transaction manager is required (or, for that matter, supported).
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon Apr 02, 2007 2:35 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20729
Location: LI,NY

As far as I remember the only external TM's supported are
  • Mainframe IBM TM's like CICS (IMS?) etc...
  • WAS : Websphere Application Server (using J2EE and JTA)
  • WebLogic (using J2EE and JTA)


I hope somebody from Big Blue can correct me and add a few more.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
BenR
PostPosted: Mon Apr 02, 2007 2:37 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2006
Posts: 60
Location: Hursley, UK

From base Java, none of the above

With JMS it was WAS and WebLogic, as of last friday it's a bit different.
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon Apr 02, 2007 2:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20729
Location: LI,NY

BenR wrote:
From base Java, none of the above

With JMS it was WAS and WebLogic, as of last friday it's a bit different.


Thanks for the update Ben. Can you please provide a link to the press release?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
BenR
PostPosted: Mon Apr 02, 2007 2:45 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2006
Posts: 60
Location: Hursley, UK

This link is probably the most relevant.
Back to top
View user's profile Send private message Visit poster's website
paatchu
PostPosted: Mon Apr 02, 2007 7:27 pm    Post subject: Reply with quote

Apprentice

Joined: 07 Sep 2006
Posts: 32

We're trying to use XA-transaction with our JAVA code in the following way...

1) If we STOP the queue manager manually( to test), our server will continously listening, and when the Q-Mgr is active... will Re-connec t to the Quemanager and continue the transaction..

But the problem we're facing is that...

When we manually stop the Qmgr & try to re-connect it, the QMgr shows AMQ8041 & AMQ 7018,saying that the Process is not complete.!

How this scenario could be avoided.?
Or what are the points to take care,when we're using XA-Transaction.?
_________________
Poetry with Programming
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 » IBM MQ Java / JMS » XA transaction from JAVA.?
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.