|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS Client Exception |
« View previous topic :: View next topic » |
Author |
Message
|
mangoMan |
Posted: Tue Feb 14, 2006 3:07 pm Post subject: JMS Client Exception |
|
|
Acolyte
Joined: 16 Oct 2003 Posts: 69
|
I am running a Java console application on Win XP which is trying to get a message from a queue defined on an AIX box. The Queue Connection Factory, and the Queue Destination are defined under WAS 6. I am able to create the intitialContext but after creating the Queue Connection factory when I call createQueueConnection( ) I get the following linked exception
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2035
MQJE036: Queue manager rejected connection attempt
Also, under was jms resources I am using mqm as the container/componet managed authentication alias.
Any ideas? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 14, 2006 4:14 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you tried createQueueConnection(username, passwd) ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Feb 14, 2006 4:35 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
2035 X’07F3’ MQRC_NOT_AUTHORIZED
The user is not authorized to perform the operation attempted:
On an MQCONN or MQCONNX call, the user is not authorized to connect to the queuemanager.
On an MQOPEN or MQPUT1 call, the user is not authorized to open the object for the option(s) specified.
On an MQCLOSE call, the user is not authorized to delete the object, which is a permanent dynamic queue, and the Hobj parameter specified on the MQCLOSE call is not the handle returned by the MQOPEN call that created the queue.
This reason code can also occur in the Feedback field in the message descriptor of a report message; in this case it indicates that the error was encountered by a message channel agent when it attempted to put the message on a remote queue.
Corrective action: Ensure that the correct queue manager or object was specified, and that appropriate authority exists. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|