Troubleshooting
Problem
Your attempt to get a message from a queue results in the following error being issued in the WebSphere Application Server joblog: javax.jms.JMSException: MQJMS1017: non-local MQ queue not valid for receiving or browsing.
Cause
The Base queue manager name value was incorrect.
Diagnosing The Problem
Investigating the resoures.xml file revealed that the baseQueueManagerName value contained the Bus name, instead of the Queue manager name.
−
<resources.jms:JMSProvider xmi:id="builtin_mqprovider" name="WebSphere MQ JMS Provider" description="WebSphere MQ Messaging Provider" externalInitialContextFactory="" externalProviderURL="">
<factories xmi:type="resources.jms.mqseries:MQQueue" xmi:id="MQQueue_1215277504799" name="RaderQ" jndiName="jms/RaderQ" description="Queue Destination" persistence="NONPERSISTENT" priority="QUEUE_DEFINED" specifiedPriority="0" expiry="APPLICATION_DEFINED" specifiedExpiry="0" baseQueueName="RADER.QUEUE" baseQueueManagerName="RaderBus1"
Resolving The Problem
After changing the JMS->Queues->Base queue manager name to the name of the external WebSphere MQ Queue manager the application worked as expected.
Keywords: Base queue manager name; javax.jms.JMSException: MQJMS1017; java; jms; JMSException; MQJMS1017; baseQueueManagerName;
Product Synonym
WMQ MQ SIB SIBus SI Bus WAS
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21396983