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 » Multiphase Commit » WebSphere MQ unit of work with WebSphere Application Server

Post new topic  Reply to topic
 WebSphere MQ unit of work with WebSphere Application Server « View previous topic :: View next topic » 
Author Message
razvi.scope
PostPosted: Thu Dec 11, 2014 4:02 am    Post subject: WebSphere MQ unit of work with WebSphere Application Server Reply with quote

Newbie

Joined: 11 Dec 2014
Posts: 1

Hi,
We have this following flow.
WAS1 ---> MQ1 ---> WAS2 ----> MQ2 ----> WAS3

WAS1, WAS2 & WAS3 are three different applications running in WAS 8.5 and MQ1 & MQ2 are the same queue manage running in MQ 7.5. WAS 1 (single JVM) puts some messages in to a queue Q1 in MQ1 through WebSphere MQ provider (JMS) MQ1. WAS2 (4 JVMS in a WAS cluster) picks up the messages from the queue and process it, apply some business logic & then send to SIB queues through default messaging provider and then those messages will be sent to MQ2 (a different set of queues called Q2,Q3,Q4 & Q5). SIB in WAS2 is configured with high availability policy so that only one messaging engine is running in one JVM at any point of time. Messages from the queues (Q2, Q3, Q4 & Q5) will be taken & processed by WAS3 which has 2 JVMS in WAS cluster.
When all these components (WAS1,WAS2,WAS3,MQ1 & MQ2) are up & running then all the messages are flowing end to end with no message loss. But when we shut down the JVM (where messaging engine is running) in WAS2 then 2% in flight messages are lost. Messaging engine failedover to any one of three available JVMS in WAS2 but messages which were inflight to shut down JVM fails. SIB in WAS2 has file store for persistence & all MQ queues are also persistence. When ever I failover the MQ queue manager (currently configured with multiinstance) then there is no message loss.. Queue connection factories are enabled with XA (2 phase commit check box is checked).Please help us to trace the missing messages & how to prevent the message loss.

Thanks in Advance
~ Razvi
Back to top
View user's profile Send private message
tczielke
PostPosted: Thu Dec 11, 2014 5:53 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

The Application Activity Trace would be helpful in tracing and tracking down what is happening here.

This is a good article on using the tool -> http://www.ibm.com/developerworks/websphere/library/techarticles/1306_bushby/1306_bushby.html

amqsactz is a tool I have written that has enhancements to the IBM supplied amqsact tool, to help with summarizing and reading the Activity Trace data. The source can be found at -> http://www.capitalware.com/mq_code_c.html
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 » Multiphase Commit » WebSphere MQ unit of work with WebSphere Application Server
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.