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 » IBM MQ Installation/Configuration Support » websphere MQ error

Post new topic  Reply to topic
 websphere MQ error « View previous topic :: View next topic » 
Author Message
zigeesha
PostPosted: Wed Aug 25, 2004 9:50 am    Post subject: websphere MQ error Reply with quote

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
View user's profile Send private message AIM Address
jefflowrey
PostPosted: Wed Aug 25, 2004 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message
zigeesha
PostPosted: Wed Aug 25, 2004 11:52 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
vennela
PostPosted: Wed Aug 25, 2004 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
zigeesha
PostPosted: Thu Aug 26, 2004 2:04 pm    Post subject: my mistake Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » websphere MQ error
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.