ibm-messaging / mq-jms-spring

Components to assist MQ JMS integration with Spring frameworks
Apache License 2.0
190 stars 102 forks source link

JMS getting connected via Intellij but fails via executable boot jar #28

Closed girish-jung closed 5 years ago

girish-jung commented 5 years ago

I am new to both spring-boot and ibm mq. I am using mq-jms-spring-boot-starter to integrate mq with spring boot. When I start my application from intellij, I am successfully able to connect to the queue and consume messages. But when i start application from the executable boot jar from command prompt, the spring application contexts comes up successfully. However, the application fails to connect to the MQ and gives following error:- nested exception is com.ibm.mq.MQException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2397' ('MQRC_JSSE_ERROR')

I have verified the values of the following properties:- "javax.net.ssl.trustStore" "javax.net.ssl.trustStorePassword" "javax.net.ssl.keyStore" "javax.net.ssl.keyStorePassword"

Any help would be highly appreciated.

edwingsm commented 5 years ago

Seems like you are facing the similar issue https://www-01.ibm.com/support/docview.wss?uid=swg22006376

ibmmqmet commented 5 years ago

Look at the qmgr error logs. Most likely you have not set the correct CipherSpec for the channel, but there are other possible errors. The logs will usually give the right direction.

ibmmqmet commented 5 years ago

Closing for inactivity