Author |
Message
|
jarun111 |
Posted: Wed Jan 17, 2007 8:12 am Post subject: MS0B supportpac issues |
|
|
Acolyte
Joined: 19 Apr 2004 Posts: 70
|
I am trying to use MSOB supportpac to retreive Queue depths. When I started the program it fails at new PCFAgent (hostname, Integer.parseInt (port, channel) call with the following exception
MQJE001: Completion Code 2, Reason 2035
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2035
I gave appropriate permission for the QMGR and the Command queue + Cmd server is also running. What am missing here?
I am running the program as mqm. But still I see the issue.Auth below:
dspmqaut -m QM1 -t qmgr -p mqm
Entity mqm has the following authorizations for object EQUITY.ZEUS_QM1.DV:
inq
set
connect
altusr
crt
dlt
chg
dsp
setid
setall
dspmqaut -m QM1 -n SYSTEM.ADMIN.COMMAND.QUEUE -t q -p mqm
Entity mqm has the following authorizations for object SYSTEM.ADMIN.COMMAND.QUEUE:
get
browse
put
inq
set
crt
dlt
chg
dsp
passid
passall
setid
setall
clr |
|
Back to top |
|
 |
exerk |
Posted: Wed Jan 17, 2007 8:26 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
You've ascertained the authorities are correct for 'mqm' (no surprises there ) but are you running under that userid? Has the userid you are using the necessary authorities? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
jarun111 |
Posted: Wed Jan 17, 2007 8:43 am Post subject: |
|
|
Acolyte
Joined: 19 Apr 2004 Posts: 70
|
Yes, I am.
id
uid=30997(mqm) gid=3040(mqm) |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 17, 2007 9:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is there an MCAUser defined on the channel you're specifying in the new PCFAgent() call? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jarun111 |
Posted: Wed Jan 17, 2007 10:32 am Post subject: |
|
|
Acolyte
Joined: 19 Apr 2004 Posts: 70
|
Thanks Jeff. I got the answer from the autor. It a permission issue with System.Model.Queue |
|
Back to top |
|
 |
vennela |
Posted: Wed Jan 17, 2007 11:27 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Permissions issue for mqm ???????
That's new |
|
Back to top |
|
 |
|