• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic