[progress Communities] [progress Openedge Abl] Forum Post: Re: Need Help On Ibm Mq - "error...

  • Thread starter Sivarami Reddy Marella
  • Start date
Status
Not open for further replies.
S

Sivarami Reddy Marella

Guest
Hi Anand, Thanks for the file. I am almost done, but I am getting the security authentication error. Please find the below log for the same. While creating the Channel Authentication Records I have mentioned MCA UserID as "Administrator". In the AdminObjectFinder.java program. env.put(Context.SECURITY_PRINCIPAL, ""); // This i have mentioned as my server login userid and password. env.put(Context.SECURITY_CREDENTIALS, ""); Main >====================================================================== Main >(Aug 10, 2017 11:11:14:888) C:\OpenEdge\WRK\sonicMQ1.server.log opened. Main >(Aug 10, 2017 11:11:14:889) : Starts Adapter server logging. Main >(Aug 10, 2017 11:11:14:889) : LoggingLevel set to = 5 Main >(Aug 10, 2017 11:11:14:889) : The system property: sonicMQExtensions is set to false Main >(Aug 10, 2017 11:11:14:889) : The classpath is set to C:\Progress\OpenEdge\java\progress.jar;C:\Program Files\IBM\WebSphere MQ\java\lib\com.ibm.mqjms.jar;C:\Users\492839\websphereMQJMS\AdminObjectFinder.jar Main >(Aug 10, 2017 11:11:15:038) : Reading jmsProvider.properties from location : C:\Progress\OpenEdge\properties\jmsProvider.properties Main >: The AdminObjectFinder.getTopicConnectionFactory method is used for finding the TopicConnectionFactory object. (9301) Main >: The AdminObjectFinder.getQueueConnectionFactory method is used for finding the QueueConnectionFactory object. (9303) Main >: The AdminObjectFinder.getTopic method is used for finding the Topic objects. (9305) Main >: The AdminObjectFinder.getQueue method is used for finding the Queue objects. (9307) S-0001>(Aug 10, 2017 11:24:37:074) 192.168.56.1::sonicMQ1::3620::3fe460f6942a13bc:4e0d9c5b:15dcaa928fa:-7fdb: Startup Parameters: jmsServerName: Point-To-Point brokerURL: RemoteCF user: password: clientID: null pingInterval: transactedPublish: false transactedReceive: false singleMessageAck: false symbiontAdapter: false jmsDomain: true S-0001>(Aug 10, 2017 11:24:37:084) S-0001: receive message queue size set to 10 S-0001>(Aug 10, 2017 11:24:37:088) S-0001: browse message queue size set to 500 S-0001>(Aug 10, 2017 11:24:37:089) : In SessionContainer() S-0001>(Aug 10, 2017 11:24:38:731) : Looking up ConnectionFactory in JNDI Object Store S-0001>(Aug 10, 2017 11:24:38:731) 192.168.56.1::sonicMQ1::3620::3fe460f6942a13bc:4e0d9c5b:15dcaa928fa:-7fdb: Using connection values: 26,null,true,,true,false,-1,-1,false,0,false,false,,10000,0,30,false,60,0,20,0,,null,null,PC302075,localhost S-0001>(Aug 10, 2017 11:24:39:447) 192.168.56.1::sonicMQ1::3620::3fe460f6942a13bc:4e0d9c5b:15dcaa928fa:-7fdb com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2021: The security authentication was not valid that was supplied for QueueManager 'SampleQM' with connection mode 'Client' and supplied CCDT URL 'file:C:/Users/492839/websphereMQJMS/AMQCLCHL.TAB', see linked exception for more information. Please check if the supplied username and password are correct on the QueueManager to which you are connecting. at com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Reason.java:514) at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:214) at com.ibm.msg.client.wmq.internal.WMQConnection. (WMQConnection.java:406) at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6865) at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:6221) at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl._createConnection(JmsConnectionFactoryImpl.java:285) at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(JmsConnectionFactoryImpl.java:233) at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(MQConnectionFactory.java:6016) at com.ibm.mq.jms.MQConnectionFactory.createConnection(MQConnectionFactory.java:6041) at com.progress.messaging.jms.SessionContainer.createConnection(SessionContainer.java:1519) at com.progress.messaging.jms.SessionContainer.init(SessionContainer.java:303) at com.progress.messaging.jms.JmsConnection. (JmsConnection.java:39) at com.progress.messaging.jms.jms._connect(jms.java:306) at com.progress.javafrom4gl.implementation.JavaServlet. (JavaServlet.java:81) at com.progress.javafrom4gl.implementation.ServiceImpl.createConnectionServlet(ServiceImpl.java:106) at com.progress.ubroker.broker.ubServerThreadIPC.write(ubServerThreadIPC.java:433) at com.progress.ubroker.broker.ubASserverThread.processConnect(ubASserverThread.java:574) at com.progress.ubroker.broker.ubServerThread.processEvent(ubServerThread.java:1210) at com.progress.ubroker.broker.ubServerThread.mainline(ubServerThread.java:479) at com.progress.ubroker.broker.ubServerThread.run(ubServerThread.java:356) Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED'). at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:202) ... 18 more Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2059;AMQ9204: Connection to host '10.242.244.47(1414)' rejected. [3=10.242.244.47(1414) ] at com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:2401) at com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:1396) at com.ibm.mq.ese.jmqi.InterceptedJmqiImpl.jmqiConnect(InterceptedJmqiImpl.java:376) at com.ibm.mq.ese.jmqi.ESEJMQI.jmqiConnect(ESEJMQI.java:561) at com.ibm.msg.client.wmq.internal.WMQConnection. (WMQConnection.java:342) ... 17 more. Thanks, Sivarami

Continue reading...
 
Status
Not open for further replies.
Top