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 » General IBM MQ Support » com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason

Post new topic  Reply to topic
 com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason « View previous topic :: View next topic » 
Author Message
manohaan
PostPosted: Thu May 12, 2022 7:11 pm    Post subject: com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason Reply with quote

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
View user's profile Send private message
hughson
PostPosted: Thu May 12, 2022 10:05 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
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
View user's profile Send private message Visit poster's website
gbaddeley
PostPosted: Sun May 15, 2022 6:06 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
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
View user's profile Send private message
manohaan
PostPosted: Mon May 16, 2022 4:17 pm    Post subject: Reply with quote

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
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 » General IBM MQ Support » com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason
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.