cancel
Showing results for 
Search instead for 
Did you mean: 

JMS TO JMS sender adapter error(MQ queue manager closed channel immediately during connect) getting?

former_member270261
Participant
0 Kudos

Hi Experts,

we are getting below error and after restarting the MQ Queue Manager. can anyone tell me how to overcome this issue?

Error  creating JMS connection. The JMS provider gave the error message as MQJMS2005:
failed to create MQQueueManager for 'QMAGTRAQ01' MQJE001: An MQException
occurred: Completion Code 2, Reason 2009<br>MQJE016: MQ queue manager
closed channel immediately during connect<br>Closure reason = 2009, and
the error code as MQJMS2005

Thanks

Narendra

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member278111
Participant
0 Kudos

Hi,

Please cross check with MQ team whether PI is allowed to access or not.

If not, it is required to add PI IP address in MQ to allow access.

Thanks & Regards

Anil Kumar

former_member182412
Active Contributor
0 Kudos

Hi Narendran,

Check below SAP Note.

1086303 - XI JMS Adapter and IBM Websphere MQ: FAQ


Error Message: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for

'<Host>:<QueueManagerName>'

...

com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009

MQJE016: MQ queue manager closed channel immediately during connect

Closure reason = 2009

Tip: This usually indicates that your channel name was incorrect of that you did not specify a

channel of type SVRCONNN (server connection) in the channel field on your JMS channel configuration.

Regards,

Praveen.

former_member270261
Participant
0 Kudos

Thanks praveen for Quick replay.

when MQ Manager is restart queues are working fine.if the channel name is incorrect,it wont be reconnect,but here restarting it will connect.

i check with MQ Team they are given below answer

For Agent Queue  Manager maximum number of connections allocated to SAP PI is
120. SAP PI has reached this threshold value currently.
after i have stop the all channels but problem is facing again.

Thanks

Narendra