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 API Support » MQJMS3024

Post new topic  Reply to topic
 MQJMS3024 « View previous topic :: View next topic » 
Author Message
ravishanker
PostPosted: Mon Jun 03, 2002 11:04 pm    Post subject: MQJMS3024 Reply with quote

Newbie

Joined: 28 May 2002
Posts: 5
Location: Hyderabad, India

Hi

I am trying to connect to a Durable Queue but am encountering the folowing exception. Kindly Help

javax.jms.JMSException: MQJMS3024: Illegal use of uninitialised client ID
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:530) at com.ibm.mq.jms.MQQueueSubscriptionEngine.openDurableSubscription(MQQueueSubscriptionEngine.java:465)at com.ibm.mq.jms.MQMigrateSubscriptionEngine.openDurableSubscription(MQMigrateSubscriptionEngine.java:375)at com.ibm.mq.jms.MQTopicSession.createDurableSubscriber(MQTopicSession.java:754)
at SelectorChat.chatter(SelectorChat.java:61)
at SelectorChat.main(SelectorChat.java:147)

My TCF configurations are as follows:

BROKERCCSUBQ(SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE)
BROKERPUBQ(SYSTEM.BROKER.DEFAULT.STREAM)
QMANAGER()
SUBSTORE(MIGRATE)
BROKERVER(V1)
USECONNPOOLING(YES)
POLLINGINT(5000)
CLONESUPP(DISABLED)
BROKERQMGR(QM_test2.asldevelop)
BROKERSUBQ(SYSTEM.JMS.D.SUBSCRIBER.QUEUE)
STATREFRESHINT(60000)
TRANSPORT(BIND)
SYNCPOINTALLGETS(NO)
PUBACKINT(25)
CLEANUPINT(3600000)
MSGSELECTION(CLIENT)
VERSION(2)
MSGBATCHSZ(10)
BROKERCONQ(SYSTEM.BROKER.CONTROL.QUEUE)
CLEANUP(SAFE)

and my code is

javax.jms.Topic pubtopic = pubSession.createTopic (APP_TOPIC+"."+username);
javax.jms.Topic subtopic = subSession.createTopic (APP_TOPIC+"."+selection);
javax.jms.TopicSubscriber subscriber = subSession.createDurableSubscriber(subtopic, "D_SUB0001","myname",false);

Regards
Ravi Shanker
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
bower5932
PostPosted: Tue Jun 04, 2002 11:15 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

MQJMS3024 happens when there is no ClientID associated with a durable subscription. The ClientID can be set in one of two ways:

1. As a property of the tcf via jmsadmin (eg, alter tcf(myTCF) clientid(myID))
2. Programmatically using TopicConnection.setClientID()
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQJMS3024
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.