Author |
Message
|
zigeesha |
Posted: Wed Aug 25, 2004 9:50 am Post subject: websphere MQ error |
|
|
Apprentice
Joined: 16 Aug 2004 Posts: 32 Location: california
|
Hi all,,
Need a lil bit of a suggestion...
Actually i ahve been tryingto run a servlet which performs the following operation
gets a message out of a queue enough times so that the backout threshold is reached an then puts the message in the backout queue...
but there is a error mesage "A WebSphere MQ error occurred : Completion code 2 Reason code 2035"
I have checked for the error messages n it says MQRC_NOT_AUTHORISED
Can u plz suggest on wht do i do next
i have even tried using the setauth from /opt/mqm/samp...............
thanks
lakshmi |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 25, 2004 10:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Please don't post the same question twice.
If you are getting a 2035, that means that the user running your program is not authorized to the things it needs to be authorized to.
If you want more specific help, then you need to provide more specific details - what is the user that is running your program, what authorizations have you provided, what objects are you trying to access. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
zigeesha |
Posted: Wed Aug 25, 2004 11:52 am Post subject: |
|
|
Apprentice
Joined: 16 Aug 2004 Posts: 32 Location: california
|
Hey thx a lot anyways got the error corrected ......
the user which was accessing the servlet was "user" and i set all the authorities to the user using the mq sample programs mqsetaut
regards lakshmi |
|
Back to top |
|
 |
vennela |
Posted: Wed Aug 25, 2004 12:57 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Glad you got that fixed.
Can you please clarify what you did with sample programs namely mqsetaut
If you are talking about setmqaut then it is not a sample program but a command which is part of MQ control commands. Just making sure that your post will not mislead others |
|
Back to top |
|
 |
zigeesha |
Posted: Thu Aug 26, 2004 2:04 pm Post subject: my mistake |
|
|
Apprentice
Joined: 16 Aug 2004 Posts: 32 Location: california
|
I am sorry for the type mismatch..
I was able to fix the problem by running the sample program setmqauth which is available in the directory /opt/mqm/bin to set authorities to the user which was accessing the mq object(queue) thru the WAS.............
setmqaut -m QMgrName [-n ObjName] -t ObjType [-p Principal | -g Group] [-s ServiceName] Authorizations
Thx
lakshmi |
|
Back to top |
|
 |
|