IBM Support

MQJMS2008 failed to open MQ queue with reason code 2085 caused by QueueManagerHost name configuration

Troubleshooting


Problem

You notice the following messages are logged if the Java Message Service (JMS) is unable to find the queue manager. The queue manager name is based on the QueueManagerHost name. In general, the reason code 2085 means that the referenced queue could not be found on the Queue Manager. This specific issue, however, is caused by the configured QueueManagerHost.
SystemOut.log [7/22/15 10:23:24:237 EDT] 7b40fe EJBContainerI I WSVR0037I: Starting EJB jar: CMSReportsBusiness.jar [7/22/15 10:23:26:756 EDT] 7b40fe ConnectionEve A J2CA0056I: The Connection Manager received a fatal connection error from the Resource Adaptor for resource JMS$cms_queue_factory. The exception which was received is javax.jms.JMSException: MQJMS2008: failed to open MQ queue [7/22/15 10:23:27:154 EDT] 7b40fe MDBListenerIm W WMSG0019E: Unable to start MDB Listener InterfaceProcessor, JMSDestination jms/cms_interface_queue : javax.jms.JMSException: MQJMS2008: failed to open MQ queue at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironme nt.java:540) at com.ibm.mq.jms.MQQueueAgent.resolveQueue(MQQueueAgent.java:460) at com.ibm.mq.jms.MQQueueAgent.getQueueAgent(MQQueueAgent.java:271) An MQJMS2008 exception with Reason Code 2085 when WebSphere® Application Server attempts to start the "ReceiverListenerPort" listener port. Reason Code 2085 typically indicates that the queue doesn't exist on the queue manager that the application is connected to. Resources.xml

Cause

In Message Queueing, the server was defined in lower-case. The queueManagerHost is case sensitive. For example: MYHOSTSRV was defined as myhostsrv.

Resolving The Problem

Ensure the definition matches case.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Java Message Service (JMS)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0;8.5.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Historical Number

33458;344;000

Document Information

Modified date:
18 October 2018

UID

swg21245036