|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQJE036: Queue manager rejected connection attempt |
« View previous topic :: View next topic » |
Author |
Message
|
oswulf |
Posted: Thu Dec 01, 2005 3:49 am Post subject: MQJE036: Queue manager rejected connection attempt |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu Dec 01, 2005 4:18 am Post subject: |
|
|
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 |
|
 |
wschutz |
Posted: Thu Dec 01, 2005 6:42 am Post subject: |
|
|
 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 |
|
 |
hopsala |
Posted: Thu Dec 01, 2005 9:53 pm Post subject: Re: MQJE036: Queue manager rejected connection attempt |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|