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 » MQJE036: Queue manager rejected connection attempt

Post new topic  Reply to topic
 MQJE036: Queue manager rejected connection attempt « View previous topic :: View next topic » 
Author Message
oswulf
PostPosted: Thu Dec 01, 2005 3:49 am    Post subject: MQJE036: Queue manager rejected connection attempt Reply with quote

Newbie

Joined: 01 Dec 2005
Posts: 1

I am currently using MQClient (5.3) to connect to a remote QM (5.3) on AIX and encountered the following errors:

MQJE036: Queue manager rejected connection attempt
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Rea
son 2035
MQJE036: Queue manager rejected connection attempt
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:
239)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnecti
on(MQClientManagedConnectionFactoryJ11.java:276)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnectio
n(MQClientManagedConnectionFactoryJ11.java:296)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.jav
a:80)

In my MQEnvironment, i have specified a valid userID with the appropriate right to access the required resources.

Moreover, i am quite that the program is ok becos it is able to connect to another remote QM on the Windows 2000 box.

Any idea what could have went wrong? Is there a way to disable user authenication on the MQ at AIX?

Thanks in advance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 01, 2005 4:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

A 2035 is always and only a security issue, either with the qmgr or with the queue you are trying to use.

Setting the user and password in the MQEnvironment may not be sufficient for your needs, especially when using JMS.

There is a different form of createConnection on the QCF that accepts a User and Password as parameters... Try that one.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Dec 01, 2005 6:42 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Try turning authority events (authorev) on the aix qmgr and see what the event messages tell you (in SYSTEM.ADMIN.QMGR.EVENT).
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
hopsala
PostPosted: Thu Dec 01, 2005 9:53 pm    Post subject: Re: MQJE036: Queue manager rejected connection attempt Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

oswulf wrote:
Any idea what could have went wrong? Is there a way to disable user authenication on the MQ at AIX?

That's a bit harsh, isn't it? This Is possible - by removing the AuthorizationService section in qm.ini or something similar (look this up in the manuals); but only do this if this is a test system.
Otherwise, you simply have to give yourself proper authority using setmqaut and dspmqaut - search this forum for 2035, there's plenty of info.
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 » MQJE036: Queue manager rejected connection attempt
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.