Skip to Content
Former Member
Oct 18, 2012 at 07:20 AM

JMS Communication channel in MQJMS2002 error


Hi Experts,

I would like to ask for your help.

All cluster nodes of the JMS communication channel encounters MQJMS2002 error when trying to get message from MQ. No messages are being picked up from MQ queue. I need to know how to resolve this error with a workaround or permanent fix.

See below log from a cluster node:

Channel error occured; detailed error description: JMS error: MQJMS2002: failed to get message from MQ queue., Linked error:null, Error Code: MQJMS2002

Additional Information:

After a while, the cluster nodes will be inactive with short log:

EOIO cluster lock '$' already set for EOIO channel by another cluster node; channel is therefore inactive. Message reported by underlying lock manager: Cannot lock [XXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................XXXXXXXX, $, XXXXXXXXXXXXXXXXXXXXXXXXXXXXX, X]; it is in use by another owner. The lock collision occurred with user .

These EOIO cluster lock needs to be removed via visual administration to make the cluster nodes of the communication channel active again.

What we have already done:

1. Stop and start the communication channel. - Result: cluster nodes are still in MQJMS2002 error.

2. Removed a couple of messages in the front of MQ queue and refresh. - Result: same.

3. Stop the communication channel, removed a couple of messages in MQ Queue and refresh then start the communication channel. - Result: same.

4. Stop the communication channel, removed all messages from the MQ queue, restart MQ queue, start the communication channel, add messages in the MQ queue. - Result: same.