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 » MQIACF_REASON_QUALIFIER value 25

Post new topic  Reply to topic
 MQIACF_REASON_QUALIFIER value 25 « View previous topic :: View next topic » 
Author Message
crossland
PostPosted: Tue Feb 08, 2011 3:05 am    Post subject: MQIACF_REASON_QUALIFIER value 25 Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

I am writing a Java program that processes event messages on SYSTEM.ADM.QMGR.EVENT. When p.getParameter is MQIACF_REASON_QUALIFIER, it then uses getValue and handles various MQRQ* values (e.g. MQRQ_CONN_NOT_AUTHORIZED). However, it is regularly reporting a value of 25. The only reason qualifiers that I have been able to locate have gone from 1 to 20.

Any suggestions for a reason qualifer that has a value of 25?

Thanks!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 08, 2011 3:45 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The reason qualifier only makes sense in context of the rest of the event.

What's the event that's returning an MQRQ with a value of 25?

Otherwise, I agree, there doesn't appear to be a valid MQRQ that has a value of 25 - at least, that is documented.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 08, 2011 3:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Some slight more commentary -
The documentation for the Not Authorized (Type 1) event, for example, shows that there is a valid MQRQ value of MQRQ_SYS_CONN_NOT_AUTHORIZED.

But there isn't a documented value for MQRQ_SYS_CONN_NOT_AUTHORIZED in the list of MQRQ_* in the constants manual.

So you're likely getting something like this, where you have to read between the lines in the documentation.
Back to top
View user's profile Send private message
crossland
PostPosted: Tue Feb 08, 2011 4:13 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

The MQCFH.Reason is MQRC_NOT_AUTHORIZED.

The only values that I could find for reason qualifiers were in cmqcfc.h:

/* Reason Qualifiers */
#define MQRQ_CONN_NOT_AUTHORIZED 1
#define MQRQ_OPEN_NOT_AUTHORIZED 2
#define MQRQ_CLOSE_NOT_AUTHORIZED 3
#define MQRQ_CMD_NOT_AUTHORIZED 4
#define MQRQ_Q_MGR_STOPPING 5
#define MQRQ_Q_MGR_QUIESCING 6
#define MQRQ_CHANNEL_STOPPED_OK 7
#define MQRQ_CHANNEL_STOPPED_ERROR 8
#define MQRQ_CHANNEL_STOPPED_RETRY 9
#define MQRQ_CHANNEL_STOPPED_DISABLED 10
#define MQRQ_BRIDGE_STOPPED_OK 11
#define MQRQ_BRIDGE_STOPPED_ERROR 12
#define MQRQ_SSL_HANDSHAKE_ERROR 13
#define MQRQ_SSL_CIPHER_SPEC_ERROR 14
#define MQRQ_SSL_CLIENT_AUTH_ERROR 15
#define MQRQ_SSL_PEER_NAME_ERROR 16
#define MQRQ_SUB_NOT_AUTHORIZED 17
#define MQRQ_SUB_DEST_NOT_AUTHORIZED 18
#define MQRQ_SSL_UNKNOWN_REVOCATION 19
#define MQRQ_SYS_CONN_NOT_AUTHORIZED 20
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 08, 2011 5:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Which Type of Not Authorized event is it?

Like I said, you may be stuck in a twisty little maze of inconsistent InfoCenter pages.

What's the raw data of the event message look like?

Is there a security exit of any kind involved?
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 » MQIACF_REASON_QUALIFIER value 25
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.