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 » General IBM MQ Support » MQAuth differences when using amqsgetc and RfhutilcReadQ

Post new topic  Reply to topic
 MQAuth differences when using amqsgetc and RfhutilcReadQ « View previous topic :: View next topic » 
Author Message
ManiA
PostPosted: Fri Mar 17, 2006 9:07 am    Post subject: MQAuth differences when using amqsgetc and RfhutilcReadQ Reply with quote

Newbie

Joined: 25 Jan 2006
Posts: 8

Hello,

WMQ 6.0.1(server and client) on PC
WMQ 5.3.11 on MQServerQMgr being accessed remotely.

MQServer(with a exclusively defined SVRCONN) is defined on the PC

The amqsputc and amqsgetc work fine directly from the command line.

Using the same MQServer parameters from the drop-down list in Rfhutilc a ReadQ reports a 2035. Just to make sure it is not RFHUtilc related, replaced(within rfhutilc) the special SVRCONN with SYSTEM.DEF.SVRCONN and got successful BrowseQ and ReadQs all the way to a 2033.

Prior to using the MQServer, used the CHLTab file with same results.

What MQAuth setups and/or config steps could I be missing?

I'm continuing to dig thru the ih03.pdf for any special requirements.

Any pointers?

Thanks.
Mani
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Mar 17, 2006 9:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Is your "first" svrconn defined with a mcauserid? rfhutil might be trying to open the queue with some options that amqsputc/getc isn't (like set context).

Do you have access to the server? If so, you can turn on authority events to actually see what user is getting bounced and what the open options were....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
ManiA
PostPosted: Fri Mar 17, 2006 9:34 am    Post subject: Reply with quote

Newbie

Joined: 25 Jan 2006
Posts: 8

Wayne,

Yes, the first SVRCONN is setup with a MCAUSER and the Qs I'm accessing have been setup with the required AUTHs.

Yes, I do have access to the server and I will try your suggestion.

Thanks.
Mani
Back to top
View user's profile Send private message
ManiA
PostPosted: Fri Mar 17, 2006 11:41 am    Post subject: Reply with quote

Newbie

Joined: 25 Jan 2006
Posts: 8

Hi Wayne,

Found out from the error logs the Auth failure was happening at a "inq".

For this test I was using AliasQs. With the baseQL's Auths unchanged, adding a "allow inq" for the GETQAlias made Rfhutilc read the Q. However, the amqsgetc against the same GETQAlias was able to get msgs prior to this action.

The conclusion I come to is - rfhutilc does an "inq" and then a "get". Is that a right conclusion? Maybe you can explain this behavior better than I've understood.

Thanks.
Mani
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Mar 17, 2006 11:47 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
The conclusion I come to is - rfhutilc does an "inq" and then a "get". Is that a right conclusion? Maybe you can explain this behavior better than I've understood.

apparently so..where-as amqsput/getc doesn't ....

so now everything is ok, yes?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
ManiA
PostPosted: Fri Mar 17, 2006 12:10 pm    Post subject: Reply with quote

Newbie

Joined: 25 Jan 2006
Posts: 8

Yes, with the INQ authority added for the GETQAlias, Rfhutilc is working fine.

Thank you for your help!

Mani
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 » General IBM MQ Support » MQAuth differences when using amqsgetc and RfhutilcReadQ
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.