|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQException Reason 2009 |
« View previous topic :: View next topic » |
Author |
Message
|
boaz |
Posted: Tue Dec 10, 2002 2:14 am Post subject: MQException Reason 2009 |
|
|
Apprentice
Joined: 28 May 2002 Posts: 43
|
Hi,
I am getting the following exception:
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'queue.manager'
and Linked Exception:
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2009
when trying to run:
Code: |
qconFactory.createQueueConnection() |
I've read that this means a broken Queue manager connection problem.
My System has many queues.
Since I have many processes reading and writing, I've defined several listeners (each listener has its own port) in order not to reach the limit of 100 TCP connections per listener.
I get around 30 connections on the listener before this error raise.
My question is, does the queue manager is limited by the number of listeners? should I add another queue manager to the system?
Any help would be appreciated!
Boaz |
|
Back to top |
|
 |
vmcgloin |
Posted: Tue Dec 10, 2002 2:33 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Boaz,
You would have to check the MQ error logs to see why the connection was broken. That might help.
Also I have not heard of a limit of connection per listener, but there is a maximum number of channels per queue manager. The default for this is 100.
To increase this limit add the following to the end of the qm.ini file for the queue manager (or equivalent for NT systems):
CHANNELS:
MaxChannels = 300 ; Maximum number of Channels allowed.
; Default is 100.
The AMQERR01.LOG for your qmgr will indicate if this is necessary.
Regards,
Vicky |
|
Back to top |
|
 |
boaz |
Posted: Tue Dec 10, 2002 2:50 am Post subject: Re |
|
|
Apprentice
Joined: 28 May 2002 Posts: 43
|
Hi Vicky !
Thanks for the fast reply!
Look at the table here:
http://www-3.ibm.com/software/ts/mqseries/library/manualsa/csqzae05/csqzae052n.htm
you'll see that the maximum TCP connections on AIX is 100.
So I've opened several TCP listeners and devided each sender to a specific port.
I have 2 issues:
1. I work in multhi-threaded so I open a session for each thread and keep it opened, is it OK or should I close it after sending?
2. I use the same channel for each queueConnectionFactory, should i use anothr channel/s?
Boaz |
|
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
|
|
|
|