Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
girish-jung opened this issue Jun 25, 2019 · 3 comments
Closed

Comments

@girish-jung
Copy link

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.

  • spring-boot version - 2.1.4.RELEASE
  • mq-jms-spring-boot-starter version - 2.1.1
  • Java version - 1.8.
@edwingsm
Copy link
Contributor

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

@ibmmqmet
Copy link
Collaborator

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
Copy link
Collaborator

Closing for inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants