|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason |
« View previous topic :: View next topic » |
Author |
Message
|
manohaan |
Posted: Thu May 12, 2022 7:11 pm Post subject: com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason |
|
|
Novice
Joined: 07 Feb 2022 Posts: 11
|
Hi,
I have create a Local queue manager in MQ V9.2.
Trying to access the Local QM from my Talend studio and getting Authorization error.
com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2035'.
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:251)
Gave "mqm" as username and password as null.
Host: localhost
channel : SYSTEM.DEF.SVRCONN
Please help. |
|
Back to top |
|
 |
hughson |
Posted: Thu May 12, 2022 10:05 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Have a look in your queue manager error log. This can be found in MQ_DATA_PATH/QMgrs/<qm-name>/errors/AMQERR01.LOG
This will show you the particular feature of MQ that has bounced you. I suspect it will be connection authentication telling you that a password is required for the username since it is a privileged user id.
However, if you have turned off password checking, then it could be the CHLAUTH rules telling you that all SYSTEM channels are blocked by default.
You might find the following material useful for getting started:-
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun May 15, 2022 6:06 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
SYSTEM.DEF.SVRCONN is meant to be a template for creating new SVRCONN type channels. Despite it being used in many MQ examples, you should always define your own application specific channel, so that you can customise its many attributes to suit your application. The name should follow a standard, eg. APPID.ENV.SVRCONN, where APPID is a short application or functional identifier, and ENV is an evironment identifer, eg. DEV TEST PROD.
We have SYSTEM.DEF.SVRCONN set to MCAUSER = nobody, MAXMSGLN = 1, MAXINST = 0 to prevent it from being used. Of course, these attributes need to be specified with proper values when defining new SVRCONN channels. _________________ Glenn |
|
Back to top |
|
 |
manohaan |
Posted: Mon May 16, 2022 4:17 pm Post subject: |
|
|
Novice
Joined: 07 Feb 2022 Posts: 11
|
Hi,
After I updated the channel tp 'SYSTEM.ADMIN.SVRCONN' I am able to connect to the QM.
Thank you for the support. |
|
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
|
|
|
|