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 » WebSphere Message Broker (ACE) Support » How to trace sub problem

Post new topic  Reply to topic
 How to trace sub problem « View previous topic :: View next topic » 
Author Message
Yanghui
PostPosted: Wed Jan 15, 2003 10:00 am    Post subject: How to trace sub problem Reply with quote

Disciple

Joined: 08 May 2002
Posts: 151
Location: Dublin, Ireland

Hi,

Does anybody know how to trace sub problem? I send a command message to do regsub but always fail. Since there is no msgflow associated with regsub, probably there is no point to use mqsichangetrace, mqsireadlog and mqsiformatlog. I tried but no too much info available.

Many thanks in advance

-Yanghui
Back to top
View user's profile Send private message Send e-mail
vmcgloin
PostPosted: Thu Jan 16, 2003 12:54 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

It is a while since I've done it - but try tracing the default execution group and looking for errors in that. Also I thought ther was a way of getting a response message to you subscription request - goes that help determine the error?

Cheers,
Vicky
Back to top
View user's profile Send private message
Yanghui
PostPosted: Thu Jan 16, 2003 3:36 am    Post subject: Reply with quote

Disciple

Joined: 08 May 2002
Posts: 151
Location: Dublin, Ireland

Hi, Vicky,

Thank you very much for your response. It's quite helpful.

Now I am getting a bit further. I don't know what I did wrong but found the two utilities for PUB/SUB, IA71 and IH03, are not too reliable. By using Request msgtype and user trace, actually WMQI has been gaving error 3151, 3071 or 3008. Those errors explaination on manual doesn't help too much. There shouldn't be too many places for PUBSUB in WMQI for me to make mistakes. I don't understand why I can't use IH03 to do pub directly on the queue SYSTEM.BROKER.CONTROL.QUEUE.

Any more ideas? Many thanks again

-Yanghui
Back to top
View user's profile Send private message Send e-mail
vmcgloin
PostPosted: Thu Jan 16, 2003 4:12 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

I only recognise 3008 as 'Command Failed'. I have done a quick search & cannot find 3151 or 3071. Can you post the descriptions?

Are you sure your broker and message flows are setup ok? Have you had one of the samples - Scribble or Soccer running ok?

Also, can you post the regsub message you are actually sending and what you expect to happen?

Sorry I am not much help -maybe someone else can help

Regards,
Vicky
Back to top
View user's profile Send private message
Yanghui
PostPosted: Thu Jan 16, 2003 4:55 am    Post subject: Reply with quote

Disciple

Joined: 08 May 2002
Posts: 151
Location: Dublin, Ireland

Hi Vicky,

I really appreciate your quick response.

Here is the regsub msg generated by IA71

<psc>
<Command>RegSub</Command>
<RegOpt>PersAsPub</RegOpt>
<Topic>testtopic</Topic>
<QMgrName>QM_YH</QMgrName>
<QName>SUBS</QName>
</psc>

Here is the info in trace

2003-01-16 13:09:28.759000 2256 UserTrace BIP7079I: node 'PubSubControlMsgFlow.ControlNode': The Publish/Subscribe service has received a message of type RegSub. The Publish/Subscribe service has started processing a control message. No user action required.

2003-01-16 13:09:28.759000 2256 UserTrace BIP7087I: Node 'PubSubControlMsgFlow.ControlNode': The Publish/Subscribe service has received an error code 3151. The Publish/Subscribe service has received an error with code 3151. No response message has been sent because one was not requested. No user action required.

Thanks again

-Yanghui
Back to top
View user's profile Send private message Send e-mail
vmcgloin
PostPosted: Thu Jan 16, 2003 5:15 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Found the following by doing a search for 3151 on IBM site http://www-3.ibm.com/software/ts/mqseries/support/
Hope it helps...
Quote:
Problem
Unable to register subscription - receiving reason code 3151

Solution
For the pub/sub error reason code 3151 (Wrong User), it was a
result of registering a subscription by one user using the
mqsipubsub command and then trying to deregister the subscription
by another user using the Control Center. The subscription was
deregistered, but the broker still believed that it existed and
belonged to the original user that registered it. Stopping and
restarting the relevant brokers and queue managers allowed the
original user the successfully register the desired subscription.
To avoid this problem, the mqsipubsub utility should be used to
register and deregister subscriptions so that they use the same
userid for registration and deregistration. If you want, you can
use the same userid for all subscriptions, which would ensure
you can deregister the subscription since you know the userid. To
stop anyone from registering a subscription with another userid,
they can set MQSeries up to only allow certain users to put to the
SYSTEM.BROKER.CONTROL.QUEUE. If you can't do an MQPUT
to that queue then you can't register a subscription.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to trace sub problem
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.