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.

Related information

IBM MQ JMS application fails to open a cluster queue with reason code 2085 (MQRC_UNKNOWN_OBJECT_NAME)

Cross reference information
Product Component Platform Version Edition
Runtimes for Java Technology Java SDK

Historical Number

33458
344
000

Document information

More support for: WebSphere Application Server

Component: Java Message Service (JMS), Java SDK

Software version: 7.0, 8.0, 8.5.5, 9.0

Operating system(s): AIX, HP-UX, IBM i, Linux, Solaris, Windows

Software edition: Base, Network Deployment

Reference #: 1245036

Modified date: 18 October 2018


Translate this page: