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 » JMS Subscriber stops getting messages after a while

Post new topic  Reply to topic
 JMS Subscriber stops getting messages after a while « View previous topic :: View next topic » 
Author Message
jmtq
PostPosted: Thu Apr 03, 2014 7:42 am    Post subject: JMS Subscriber stops getting messages after a while Reply with quote

Newbie

Joined: 03 Apr 2014
Posts: 2

A JMS application that ran fine with the old Sun IMQ is showing a large loss of messages in WMQ

- MQTopicSession with DUPS_OK_ACKNOWLEDGE
- Publisher sends 1000s of messages on 5 different topics which are initially all picked up by Subscriber, but after a while the messages are no longer showing up on the Subscriber
- ExceptionListener is not reporting any problems
- Tried HBINT(30) and set SHARECNV(1) on channel SYSTEM.DEF.SVRCONN but subscriber still going quiet after a while
- Application timer disconnects and reconnects Subscriber and then messages start flowing again till it reaches the stall point after which it goes quiet and waits for another timer disconnect/reconnect to happen

Any clues on how to debug or what to look for in the trace (strmqtrc) ?
Back to top
View user's profile Send private message
tczielke
PostPosted: Fri Apr 04, 2014 10:58 am    Post subject: Reply with quote

Guardian

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

If you are at MQ 7.1 or 7.5, you may want to consider using the Application Activity Trace to analyze your program. Using it with the MS0P supportpac is much easier than deciphering a raw trace. Below is a good link to understand how to use it.

http://www.ibm.com/developerworks/websphere/library/techarticles/1306_bushby/1306_bushby.html

If you do want to look at a strmqtrc trace, the MH06 supportpac may be able to help with deciphering parts of it, depending on your platform.
Back to top
View user's profile Send private message
jmtq
PostPosted: Fri Apr 04, 2014 2:14 pm    Post subject: Reply with quote

Newbie

Joined: 03 Apr 2014
Posts: 2

We at MQ 7.0.1.11 (Linux), so used that download you suggested.

There are 18 TRC files with 6 of them over 1Meg. I formatted and ran your util on 3 of them and shown below is a snippet of the suspect time frame taken from the largest output file.
If you see anything that needs researched please let me know. Otherwise I guess we will have to open a PMR with IBM.

Logger from our Subscriber
04 Apr 21:28:43 DEBUG Formatter MessageHandlerImpl - after enQueue of rawMessage.
04 Apr 21:28:43 DEBUG Formatter MessageHandlerImpl - after enQueue of rawMessage.
<<last subscriber message>>


Logger from our Publisher
04 Apr 21:28:43 DEBUG Formatter ForwardingMessageHandler - handler queue size=0, rawmsg has 229 records.
<<gap>>
04 Apr 21:29:19 DEBUG JMQConsumerReader-0-0 ForwardingMessageHandler - object type as RawMessage


Trace
21:28:43.688499 19256.7 ZSESS:000004 ---{ ziiMQGETM
21:28:43.688502 19256.7 ZSESS:000004 ----{ ziiCreateIPCCMessage
21:28:43.688504 19256.7 ZSESS:000004 -----{ zcpCreateMessage
21:28:43.688507 19256.7 ZSESS:000004 -----} zcpCreateMessage rc=OK
21:28:43.688510 19256.7 ZSESS:000004 ----} ziiCreateIPCCMessage rc=OK
21:28:43.688513 19256.7 ZSESS:000004 ----{ ziiSendReceiveAgent
21:28:43.688516 19256.7 ZSESS:000004 -----{ zcpSendOnPipe
21:28:43.688537 19256.7 ZSESS:000004 -----} zcpSendOnPipe rc=OK
21:28:43.688542 19256.7 ZSESS:000004 -----{ zcpReceiveOnPipe
*21:28:53.692065 19256.7 ZSESS:000004 -----}! zcpReceiveOnPipe rc=zrcC_E_TIMEOUT
21:28:53.692083 19256.7 ZSESS:000004 -----{ ziiHealthCheck
21:28:53.692098 19256.7 ZSESS:000004 -----} ziiHealthCheck rc=OK
21:28:53.692101 19256.7 ZSESS:000004 -----{ zcpReceiveOnPipe
*21:29:03.694578 19256.7 ZSESS:000004 -----}! zcpReceiveOnPipe rc=zrcC_E_TIMEOUT
21:29:03.694596 19256.7 ZSESS:000004 -----{ ziiHealthCheck
21:29:03.694611 19256.7 ZSESS:000004 -----} ziiHealthCheck rc=OK
21:29:03.694614 19256.7 ZSESS:000004 -----{ zcpReceiveOnPipe
*21:29:13.697186 19256.7 ZSESS:000004 -----}! zcpReceiveOnPipe rc=zrcC_E_TIMEOUT
21:29:13.697203 19256.7 ZSESS:000004 -----{ ziiHealthCheck
21:29:13.697217 19256.7 ZSESS:000004 -----} ziiHealthCheck rc=OK
21:29:13.697220 19256.7 ZSESS:000004 -----{ zcpReceiveOnPipe
*21:29:19.266599 19256.5 : ------{ recv
21:29:19.266678 19256.5 : ------} recv rc=OK
21:29:19.266699 19256.5 : Channel Name:SYSTEM.DEF.SVRCONN
21:29:19.266703 19256.5 : Receiving 20 bytes
21:29:19.266703 19256.5 : 0x0000: 203c4461 74612073 75707072 65737365 | <Data suppresse|
21:29:19.266703 19256.5 : 0x0010: 64203e0a |d > |
21:29:19.266707 19256.5 : -----} cciTcpReceive rc=OK
21:29:19.266712 19256.5 : ----} ccxReceive rc=OK
21:29:19.266716 19256.5 : ----{ cciReceiveBufferParse
21:29:19.266719 19256.5 : ----} cciReceiveBufferParse rc=OK
21:29:19.266722 19256.5 : ---} cciReceiveOne rc=OK
21:29:19.266725 19256.5 : ---{ cciFindConv
21:29:19.266728 19256.5 : ---} cciFindConv rc=OK
Back to top
View user's profile Send private message
tczielke
PostPosted: Fri Apr 04, 2014 2:41 pm    Post subject: Reply with quote

Guardian

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

Hi jmtq,

I believe you are referring to using the mqtrcfrmt tool in MH06. Although, that tool was only tested against 7.1 and 7.5 traces, it probably can read 7.0 traces, too. This tool will expand MQ data structures like MD (message descriptor), OD (object descriptor) that are in the trace, into human readable formats with constants expanded. So that is the help it would provide in deciphering a trace. If you need help in understanding the trace beyond that, then a PMR with the IBM MQ support team would be your best bet for help.

Thanks,
Tim
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 » JMS Subscriber stops getting messages after a while
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.