Solution:

Your Queue Name configured in the WMQ end-point does not exist, either re-name your WMQ Queue or create the WMQ queue .

Problem:

Exception in thread “main” org.mule.module.launcher.DeploymentStartException: MQException: JMSCMQ0001: WebSphere MQ call failed with compcode ‘2’ (‘MQCC_FAILED’) reason ‘2085’ (‘MQRC_UNKNOWN_OBJECT_NAME’).
at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:170)
at org.mule.module.launcher.application.ApplicationWrapper.start(ApplicationWrapper.java:107)
at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:48)
at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:127)
Caused by: org.mule.api.lifecycle.LifecycleException: Failed to start inbound endpoint “endpoint.wmq.queue”
at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:122)
at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:326)
at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:312)
at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:145)
at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:141)
at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:141)
at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:95)
at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:225)
at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:276)
at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155)
at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126)
at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:80)
at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:120)
at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:94)
at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:90)
at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:72)
at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:64)
at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:255)
at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:147)
… 3 more
Caused by: org.mule.api.lifecycle.LifecycleException: JMSWMQ2008: Failed to open MQ queue ‘queue’. (com.ibm.msg.client.jms.DetailedInvalidDestinationException)
at org.mule.transport.jms.MultiConsumerJmsMessageReceiver$SubReceiver.doConnect(MultiConsumerJmsMessageReceiver.java:191)
at org.mule.transport.jms.MultiConsumerJmsMessageReceiver.doConnect(MultiConsumerJmsMessageReceiver.java:133)
at org.mule.transport.AbstractMessageReceiver.connectHandler(AbstractMessageReceiver.java:451)
at org.mule.transport.AbstractTransportMessageHandler.connect(AbstractTransportMessageHandler.java:218)
at org.mule.transport.AbstractConnector.registerListener(AbstractConnector.java:1254)
at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:108)
… 26 more
Caused by: org.mule.transport.ConnectException: JMSWMQ2008: Failed to open MQ queue ‘queue’. (com.ibm.msg.client.jms.DetailedInvalidDestinationException)
at org.mule.transport.jms.MultiConsumerJmsMessageReceiver$SubReceiver.createConsumer(MultiConsumerJmsMessageReceiver.java:341)
at org.mule.transport.jms.MultiConsumerJmsMessageReceiver$SubReceiver.doConnect(MultiConsumerJmsMessageReceiver.java:187)
… 31 more
Caused by: com.ibm.msg.client.jms.DetailedInvalidDestinationException: JMSWMQ2008: Failed to open MQ queue ‘queue’. JMS attempted to perform an MQOPEN, but WebSphere MQ reported an error. Use the linked exception to determine the cause of this error. Check that the specified queue and queue manager are defined correctly.
at com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Reason.java:520)
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:236)
at com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:128)
at com.ibm.msg.client.wmq.internal.WMQConsumerShadow.initialize(WMQConsumerShadow.java:856)
at com.ibm.msg.client.wmq.internal.WMQSyncConsumerShadow.initialize(WMQSyncConsumerShadow.java:133)
at com.ibm.msg.client.wmq.internal.WMQMessageConsumer.<init>(WMQMessageConsumer.java:268)
at com.ibm.msg.client.wmq.internal.WMQSession.createConsumer(WMQSession.java:868)
at com.ibm.msg.client.jms.internal.JmsSessionImpl.createConsumer(JmsSessionImpl.java:768)
at com.ibm.msg.client.jms.internal.JmsSessionImpl.createConsumer(JmsSessionImpl.java:818)
at com.ibm.mq.jms.MQSession.createConsumer(MQSession.java:363)
at org.mule.transport.jms.Jms11Support.createConsumer(Jms11Support.java:107)
at org.mule.transport.jms.MultiConsumerJmsMessageReceiver$SubReceiver.createConsumer(MultiConsumerJmsMessageReceiver.java:336)
… 32 more
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode ‘2’ (‘MQCC_FAILED’) reason ‘2085’ (‘MQRC_UNKNOWN_OBJECT_NAME’).
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:223)
… 42 more

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply