|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS client application doesn't read waiting msg.s in MQ 5.3 |
« View previous topic :: View next topic » |
Author |
Message
|
krash |
Posted: Sun Mar 04, 2007 10:13 pm Post subject: JMS client application doesn't read waiting msg.s in MQ 5.3 |
|
|
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 |
|
 |
Vitor |
Posted: Mon Mar 05, 2007 12:51 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|