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 » MQException Reason 2009

Post new topic  Reply to topic
 MQException Reason 2009 « View previous topic :: View next topic » 
Author Message
boaz
PostPosted: Tue Dec 10, 2002 2:14 am    Post subject: MQException Reason 2009 Reply with quote

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
View user's profile Send private message Send e-mail
vmcgloin
PostPosted: Tue Dec 10, 2002 2:33 am    Post subject: Reply with quote

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
View user's profile Send private message
boaz
PostPosted: Tue Dec 10, 2002 2:50 am    Post subject: Re Reply with quote

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
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 » MQException Reason 2009
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.