• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connect to JNDI using SSL and send a message to an existing JMS queue  RSS feed

 
Raj KiranV
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Top devs,

I am struggling with a piece of java code, where is I am trying to connect to JNDI via SSL. Below is the snippet. Java run-time version is 1.7.0_09-b05




The error message I have is ...
Error while dispatching the message to the process starter: javax.jms.JMSSecurityException, Failed to initialize SSL client: java.lang.IllegalArgumentException: Invalid trust roots
javax.jms.JMSSecurityException: Failed to initialize SSL client: java.lang.IllegalArgumentException: Invalid trust roots


I am sure that the certificate with extension .cert is working fine by other clients like .net, etc...

Please help me, if there is any issue with the code.

Thanks in Advance.
Raj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!