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 client application doesn't read waiting msg.s in MQ 5.3

Post new topic  Reply to topic
 JMS client application doesn't read waiting msg.s in MQ 5.3 « View previous topic :: View next topic » 
Author Message
krash
PostPosted: Sun Mar 04, 2007 10:13 pm    Post subject: JMS client application doesn't read waiting msg.s in MQ 5.3 Reply with quote

Newbie

Joined: 04 Mar 2007
Posts: 1

Hi,

We have a standalone JMS client application connecting to MQ version 5.2. We use MQ client 5.3.0 (no Fix packs installed). The application gets stuck after 2-3 days, and doesn't read the messages (which are waiting in the MQ).

In our code, we do a QueueReceiver.receive() which doesn't get any message, nor does it get notified of any exception.

We found this defect in MQ, which seems to be the reason for the problem:
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg1IC39048
(the TCP connection goes down, and the client is listenign on the stale connection, no wrapper JMSexception is raised)

I need some help reg. below questions.

1. Do we need to apply the Fix for the MQ also(we use v5.2), or only for the MQ Client installation? (Upgrading on both machines will need lots of effort in implementation/testing)
2. Is there any code-workaround for this problem? If I write a ExceptionListener for this Connection object, will it be notified when the internal Exception is raised?

Any help is appreciated.

Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 05, 2007 12:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

You need to apply the fix to server and client. I don't believe there's anything you can do in code because you can't rely on an exception being raised.

You actually need to upgrade the server side. MQ5.2 has been obsolete for ages and was never that good with Java anyway. IMHO you should be on at least 5.3.11 if you're going to be running Java.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 client application doesn't read waiting msg.s in MQ 5.3
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.