IBM MQ Errors - Solutions

FAQ's Error:
0000008a SystemErr     R com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2013: The security authentication was not valid that was supplied for 
QueueManager 'MYQM' with connection mode 'Client' and host name 'MYLAPTOP(1414)'.
Please check if the supplied username and password are correct on the QueueManager to which you are connecting.
00000080 SystemErr     R Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' 
('MQRC_NOT_AUTHORIZED').

00000080 MDBListenerIm W   WMSG0019E: Unable to start MDB Listener MDB, JMSDestination MYQUEUE : com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'MYQM' with connection mode 'Client' and host name 'MYLAPTOP(1414)'.
Please check if the supplied username and password are correct on the QueueManager to which you are connecting.



Few Basic Commands of MQ Setup:
1] Navigate to installed path of MQ server
e.g. 
Window: C:\Program Files (x86)\IBM\WebSphere MQ\bin\
UNIX: /usr/IBM/MQ/bin/

2] Run below commands:

runmqsc MYQM
ALTER QMGR CHLAUTH(DISABLED)

runmqsc REFRESH SECURITY(*)

SET CHLAUTH('WAS.CLIENTS') TYPE(BLOCKUSER) USERLIST(ALLOWANY)


C:\>runmqsc MYQM
5724-H72 (C) Copyright IBM Corp. 1994, 2011.  ALL RIGHTS RESERVED.
Starting MQSC for queue manager MYQM.

REFRESH SECURITY(*)
     1 : REFRESH SECURITY(*)
AMQ8560: WebSphere MQ security cache refreshed.
SET CHLAUTH('WAS.CLIENTS') TYPE(BLOCKUSER) USERLIST(ALLOWANY)
     2 : SET CHLAUTH('WAS.CLIENTS') TYPE(BLOCKUSER) USERLIST(ALLOWANY)
AMQ8877: WebSphere MQ channel authentication record set.
REFRESH SECURITY(*)
     3 : REFRESH SECURITY(*)
AMQ8560: WebSphere MQ security cache refreshed.
ALTER QMGR CHLAUTH(DISABLED)
     4 : ALTER QMGR CHLAUTH(DISABLED)
AMQ8005: WebSphere MQ queue manager changed.
REFRESH SECURITY(*)
     5 : REFRESH SECURITY(*)
AMQ8560: WebSphere MQ security cache refreshed.

ALTER CHL('WAS.CLIENTS') CHLTYPE(SVRCONN) MCAUSER('MYLAPTOP')



C:\>runmqsc MYQM
5724-H72 (C) Copyright IBM Corp. 1994, 2011.  ALL RIGHTS RESERVED.
Starting MQSC for queue manager MYQM.

SET CHLAUTH(SYSTEM.ADMIN.SVRCONN) TYPE(BLOCKUSER) USERLIST('nobody')
     1 : SET CHLAUTH(SYSTEM.ADMIN.SVRCONN) TYPE(BLOCKUSER) USERLIST('nobody')
AMQ8877: WebSphere MQ channel authentication record set.
SET CHLAUTH(SYSTEM.ADMIN.SVRCONN) TYPE(ADDRESSMAP) ADDRESS(*) ACTION(REMOVE)
     2 : SET CHLAUTH(SYSTEM.ADMIN.SVRCONN) TYPE(ADDRESSMAP) ADDRESS(*) ACTION(REMOVE)
AMQ8877: WebSphere MQ channel authentication record set.
SET CHLAUTH(SYSTEM.ADMIN.SVRCONN) TYPE(ADDRESSMAP) ADDRESS(localhost) USERSRC(CHANNEL)
     3 : SET CHLAUTH(SYSTEM.ADMIN.SVRCONN) TYPE(ADDRESSMAP) ADDRESS(localhost) USERSRC(CHANNEL)
AMQ9778: IP address is invalid.

       :
DISPLAY QMGR CHLAUTH
     4 : DISPLAY QMGR CHLAUTH
AMQ8408: Display Queue Manager details.
   QMNAME(MYQM)                          CHLAUTH(DISABLED)
ALTER QMGR CHLAUTH(DISABLED)
     5 : ALTER QMGR CHLAUTH(DISABLED)
AMQ8005: WebSphere MQ queue manager changed.
END
     6 : END
5 MQSC commands read.
No commands have a syntax error.
One valid MQSC command could not be processed.

C:\>


set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/hostname(1414)

Comments

Popular posts from this blog

PUTTY - The server's host key is not cached in the registry cache

OIM-12c Installation - FMW - SOA - IDM

Apache Kafka - Zookeeper