Posted: Fri Sep 10, 2010 2:19 pm Post subject: MQ Pub/Sub Migration issue from 6.0 to 7.0
Acolyte
Joined: 19 Apr 2004 Posts: 70
Hi,
We are currently running Websphere MQ for Linux version 6 and are in process of migrating to MQ7.0. My application uses topic connection factory to connect to dynamic topic ON queue manager. It makes use of user defineD publish/subscribe queue.
Everything works fine with MQ6.0. But when we tried testing them against MQ7.0 get below exception. If I comment out setBrokerPubQueue it works fine. We have already defined all required Pub/Sub queues that we have on MQ6.0 TO mq7.0 and have started the broker on MQ7
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)
The queue USERDEFINE.PUBSUB is defind/permissioned on the queue manager + SYSTEM.BROKER.MODEL.STREAM (model queue) is defined along with other pub/sub queues that are in V6 version.
Posted: Mon Sep 13, 2010 12:11 pm Post subject: Re: MQ Pub/Sub Migration issue from 6.0 to 7.0
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
jarun111 wrote:
Nope. That call works fine.
I'd really be surprised...
Quote:
setBrokerSubQueue
public void setBrokerSubQueue(String queueName) throws JMSException;
Sets the name of the broker nondurable subscriber queue.
Parameters
* queueName - the name of the queue.
Exceptions
* JMSException - if queueName is either null or invalid.
And you think that a name with a "*" in it is adequate??
Or even the name of a model queue??
I would not be surprised if your 2085 is a direct consequence of this... _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum