|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRCCF_DUPLICATE_IDENTITY |
« View previous topic :: View next topic » |
Author |
Message
|
gowrisha |
Posted: Wed Apr 24, 2002 12:03 pm Post subject: |
|
|
Newbie
Joined: 23 Apr 2002 Posts: 2
|
Hi, I am new to MQSeries. I am testing my Solaris client connection to MQSeries on NT server through JMS interface.
I am using all the default QM's and server connections on NT. The broker is also linked to the default QM. I successfully tested the pub/sub model from NT itself. To test it from a client, I did the following:
* Installed MQSeries client for Solaris.
* Included the path for all the shared libraries in LD_LIBRARY_PATH
* Set the env variable MQSERVER to point to the default channel/TCP/IPaddress of the NT server.
When I run my test app, I am able to publish on JMS server, but when I try to retrieve (from the same program) using a durable subscriber, I get the following error:
com.ibm.mq.jms.BrokerCommandFailedException: Broker command failed: MQRCCF_DUPLI
CATE_IDENTITY Reason code 3078
at com.ibm.mq.jms.SubscriptionHelper.checkResponse(SubscriptionHelper.ja
va:1206)
at com.ibm.mq.jms.MQQueueSubscriptionEngine.sendBrokerCommand(MQQueueSub
scriptionEngine.java:2369)
at com.ibm.mq.jms.MQQueueSubscriptionEngine.openDurableSubscription(MQQu
eueSubscriptionEngine.java:606)
at com.ibm.mq.jms.MQMigrateSubscriptionEngine.openDurableSubscription(MQ
MigrateSubscriptionEngine.java:375)
at com.ibm.mq.jms.MQTopicSession.createDurableSubscriber(MQTopicSession.
java:754)
at com.ibm.mq.jms.MQTopicSession.createDurableSubscriber(MQTopicSession.
java:593)
at PubTest.main(PubTest.java:49)
I am not able to find the explanation for the error MQRCCF_DUPLICATE_IDENTITY.
Can anyone help me out with the reason for failure or to locate the docs on MQRCCF_*.
Thanks.
Gowri. |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Apr 24, 2002 1:54 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
There are a bunch of MQRCCF_* return codes in the back of the MQSeries Publish/Subscribe User's Guide. From Appendix A:
MQRCCF_DUPLICATE_IDENTITY
Publisher or subscriber identity already assigned to another user ID.
Each publisher and subscriber has a unique identity consisting of a queue manager name, a queue name, and optionally a correlation identifier. Associated with each identity is the user ID under which that publisher or subscriber first registered. A given identity can only be assigned to one user ID at a time. While the identity is registered with the broker all commands wanting to use it must specify the correct user ID. When a publisher or a subscriber no longer has any registrations with the broker the identity can be used by another user ID.
Corrective action: Either retry the command using a different identity or remove all registrations associated with the identity so that it can be used by a different user ID. The user ID to which the identity is currently assigned is returned within the error response message. A Deregister command could be issued to remove these registrations. If the user ID in question cannot be used to execute such a command, you will need to have the necessary authority to open the SYSTEM.BROKER.CONTROL.QUEUE using the
MQOO_ALTERNATE_USER_AUTHORITY option.
[ This Message was edited by: bower5932 on 2002-04-24 14:55 ]
[ This Message was edited by: bower5932 on 2002-04-24 14:56 ] |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|