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 » WAS and WMQ 5.3 Extended Transactional Client

Post new topic  Reply to topic
 WAS and WMQ 5.3 Extended Transactional Client « View previous topic :: View next topic » 
Author Message
szudor
PostPosted: Tue Jan 04, 2005 11:31 am    Post subject: WAS and WMQ 5.3 Extended Transactional Client Reply with quote

Novice

Joined: 21 Apr 2002
Posts: 18
Location: Budapest

Hi,

We have a probleme using WAS coordinated transactions with the Extended Transactional Client.

The environment:

WebSphere MQ V5.3 CSD 7
WebSphere MQ Extended Transactional Clients V5.3.0.2
WebSphere Application Server V5.1.1

Windows 2000 SP4 Professional

Abstract:

In case of client binding and XA, if the application server crashes, message is lost.

Our application needs to access MQ and database in the same transaction, therefore we configured both JDBC and JMS resources to use XA. The relevant part of the application runs in an MDB and updates a database. The
application runs in a clustered environment in order to provide fail-over capability. One of our requirements specifies that in case one of the application servers crash the other application server must continue by
processing the same message. Therefore we need to use client binding to a remote, HACMP-supported MQ server.

We found that
- In case of binding/XA mode and client/non-XA mode the message is returned to the queue after the crash of the application server. The message is not lost.
- In case of client/XA mode the message is not returned to the queue. The message is lost.

If the application server is not killed but the MDB throws and exception, the message is returned to the queue in all cases. The problem is only in the case of ther crash of the application server.

We try to use the KeepAlive=YES, ClientIdle=25 options also, but the result are the same.


Any idea ?
_________________
Sandor Zudor,
Certified Solution Expert/Developer
IBM WebSphere MQ & Message Broker
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jan 04, 2005 1:17 pm    Post subject: Reply with quote

Grand High Poobah

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

Are you sure the message is lost and not just hidden in the unresolved transactions layer ?
Have you used the transaction tools from MQ and performed a rollback of any uncommitted transaction after server crash ?

Enjoy
Back to top
View user's profile Send private message Send e-mail
szudor
PostPosted: Tue Jan 04, 2005 9:42 pm    Post subject: Reply with quote

Novice

Joined: 21 Apr 2002
Posts: 18
Location: Budapest

Yes, I'm sure.

In our intention, the main goal of this architecture are that the message will be rolled back, and the MDB running in the second (on-line) WAS environment will process this message.

In fact, the message are lost.
_________________
Sandor Zudor,
Certified Solution Expert/Developer
IBM WebSphere MQ & Message Broker
Back to top
View user's profile Send private message
slaupster
PostPosted: Wed Jan 05, 2005 4:28 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 41

It is highly unlikely that the message is in fact lost. It is exactly this that MQ and XA mean to get right.

If the MDB has in fact picked up the message in non-xa consumption and then the server crashes, the message will NOT be returned to the queue, as before the MDB is invoked with the message, it has been removed from the queue. In XA consumption, the message never in fact leaves the queue until the tran is committed, but it will not be visible to other apps. If the tran is still unresolved you can see this with dspmqtrn command, but there is a timeout associated with the tran, and it will roll back after the timeout expires.

If you are convinced that the message is in fact lost I would get trace and open a PMR. There is no point looking for a work around as it will not be reliable.
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 » WAS and WMQ 5.3 Extended Transactional Client
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.