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 » MAX_CHANNELS & MQJMS2005

Post new topic  Reply to topic
 MAX_CHANNELS & MQJMS2005 « View previous topic :: View next topic » 
Author Message
starferry
PostPosted: Thu Oct 31, 2002 1:32 pm    Post subject: MAX_CHANNELS & MQJMS2005 Reply with quote

Newbie

Joined: 30 Oct 2002
Posts: 1

Hi, I am working on an JMS MQ application that has 2 component, a server and handlers. The server recevie request through the server request queue, tranformed the request and put it onto the appropiate handler's request queue. The handler get the request, generate the result and put into the handler's reply queue. The server get the result and put it into the server's reply queue.

Both the server & handler run as starter tasks together on an NT machine, connect to a queue manager on a different NT machine through client connection via the same SVRCONN channel. There is only one handler in the current implementation.

During stress test of repeating test case sets, it hitted a JMS exception (JM
SException: MQJMS2005: failed to create MQQueueManager). The qmgr log has error message (AMQ9513: Maximum number of channels reached). After doubling/tripling the MAX_CHANNELS, it can run double/triple as much test case before it hitted the exception again. I'v checked to ensure that there is only one mq connect and mq disconnect during the liftetime of the server & handler.

Why it reached the max number of channel even though only one channel is used ? Any idea of what may have caused this problem ?

Any input will be appreciated !!!
Back to top
View user's profile Send private message
abmanesh
PostPosted: Mon Nov 04, 2002 6:51 am    Post subject: Reply with quote

Apprentice

Joined: 06 Nov 2001
Posts: 39

Every time you make a client connection, it is associated with a channel process. So at any time if you 10 connections to the queue manager using the same channel, there would be 10 active channel processes. You could list the active channel processes using display chstatus MQSC command.

In you testing, the applications may not be properly closing the connections. That way the channel processes remain active.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MAX_CHANNELS & MQJMS2005
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.