IBM Support

MQJMS1017 non-local MQ queue not valid for receiving or browsing

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":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Service Integration Technologies \/SIB","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"7.1;7.0.1;7.0;6.0","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Service Integration Technology","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"7.0;6.1;6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

WMQ MQ SIB SIBus SI Bus WAS

Document Information

Modified date:
15 June 2018

UID

swg21396983