ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ Pub/Sub Migration issue from 6.0 to 7.0

Post new topic  Reply to topic
 MQ Pub/Sub Migration issue from 6.0 to 7.0 « View previous topic :: View next topic » 
Author Message
jarun111
PostPosted: Fri Sep 10, 2010 2:19 pm    Post subject: MQ Pub/Sub Migration issue from 6.0 to 7.0 Reply with quote

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.

Factory.setBrokerPubQueue("USERDEFINE.PUBSUB");
Factory.setBrokerSubQueue("SYSTEM.JMS.ND.1234.*");

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.

Let me know what is missing. Thanks in advance.

Thanks
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Sep 10, 2010 6:34 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Have you checked that it is not the result of this operation that is throwing the error?
Code:
 Factory.setBrokerSubQueue("SYSTEM.JMS.ND.1234.*");


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jarun111
PostPosted: Mon Sep 13, 2010 5:18 am    Post subject: MQ Pub/Sub Migration issue from 6.0 to 7.0 Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Nope. That call works fine.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Sep 13, 2010 12:11 pm    Post subject: Re: MQ Pub/Sub Migration issue from 6.0 to 7.0 Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ Pub/Sub Migration issue from 6.0 to 7.0
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.