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 » Problem with message listener on MQ Linux

Post new topic  Reply to topic
 Problem with message listener on MQ Linux « View previous topic :: View next topic » 
Author Message
rsinha
PostPosted: Wed Feb 15, 2006 6:04 pm    Post subject: Problem with message listener on MQ Linux Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 15, 2006 6:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
csmith28
PostPosted: Wed Feb 15, 2006 7:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
BenR
PostPosted: Wed Feb 15, 2006 9:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mvic
PostPosted: Thu Feb 16, 2006 1:46 am    Post subject: Re: Problem with message listener on MQ Linux Reply with quote

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
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 » Problem with message listener on MQ Linux
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.