|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem with message listener on MQ Linux |
« View previous topic :: View next topic » |
Author |
Message
|
rsinha |
Posted: Wed Feb 15, 2006 6:04 pm Post subject: Problem with message listener on MQ Linux |
|
|
Apprentice
Joined: 29 Aug 2003 Posts: 42
|
We are using WMQ for Linux, Version: 530.4 CSD04.
We us JMS to create listeners for many queues, using setMessageListener(). Recently we noticed, that after 10 listeners were created for 10 queues, without either bringing down the Q mgr or the application, all receivers seem to disappear, this we found out by taking the java thread dump.
Is this a known problem, has anyone experinced this with WMQ for Linux?
Thanx |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 15, 2006 6:16 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Can you update to CSD 11/12 ?
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
csmith28 |
Posted: Wed Feb 15, 2006 7:02 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
@rsinah, step back and give us a detailed description of what is happening.
You can't create a listener that is to say a runmqlsr process using JMS.
You can start instances of SVRCONN Channels that will keep a Queue open for input. That is to say you can start a SVRCONN Channels that will keep a QLocal open to GET messages as they arrive.
Is there anything in the application log files that would be indicative of the problem?
Have you looked at the /var/mqm/qmgr/MQMGRNAME/errors/AMQERR01.LOG?
Are any .FDC files being created in /var/mqm/errors?
"all receivers seem to dissapear" doesn't help us much.
Since you are using JMS we can only assume the application is connecting as a client as apposed to using binding mode.
Are you starting 10 SVRCONN Channel instances to listen to 10 Queues equaling 100 Channel instances or are you creating 1 Channel instance for 10 Queue's for a total of 10 Channels? _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
BenR |
Posted: Wed Feb 15, 2006 9:25 pm Post subject: |
|
|
Acolyte
Joined: 31 Jan 2006 Posts: 60 Location: Hursley, UK
|
I think he means javax.jms.MessageListener, not runmqlsr. These kick off a helper thread when they're set on a javax.jms.MessageConsumer
I'd echo fjb_sapper's comment - are you able to test with a recent CSD? CSD4 is rather old now. |
|
Back to top |
|
 |
mvic |
Posted: Thu Feb 16, 2006 1:46 am Post subject: Re: Problem with message listener on MQ Linux |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
rsinha wrote: |
Recently we noticed, that after 10 listeners were created for 10 queues, without either bringing down the Q mgr or the application, all receivers seem to disappear, this we found out by taking the java thread dump. |
BenR is right to mention that CSD04 is old. CSD12 is new. But make sure (if you have clients remote from the server) that clients and server are at the same CSD, because some problems have been seen in mixed environments.
I would like to press a bit further with the problem description. What is a 'receiver' - did you mean 'MessageListener'? And how precisely was it determined that they had "disappeared"? Please post real copy/paste from the dumps that were used to reach this conclusion.
(I expect your MessageListener function name won't appear in dumps of thread call stacks unless there is a message being processed at the time the dump is taken). |
|
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
|
|
|
|