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 Java / JMS » JMS Client Exception

Post new topic  Reply to topic
 JMS Client Exception « View previous topic :: View next topic » 
Author Message
mangoMan
PostPosted: Tue Feb 14, 2006 3:07 pm    Post subject: JMS Client Exception Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 14, 2006 4:14 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Have you tried createQueueConnection(username, passwd) ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
csmith28
PostPosted: Tue Feb 14, 2006 4:35 pm    Post subject: Reply with quote

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
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 » IBM MQ Java / JMS » JMS Client Exception
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.