我無法在 配置org.apache.activemq.ActiveMQSslConnectionFactory HermesJMS.It最終說法錯誤HermesJMS顯示錯誤:javax.jms.JMSException:無法創建傳輸。原因:產生java.io.IOException:無法加載資源:
Caused by: java.io.IOException: Could not load resource: D:\ActiveMQCertificates\broker.ks
at org.apache.activemq.ActiveMQSslConnectionFactory.getUrlOrResourceAsStream(ActiveMQSslConnectionFactory.java:186)
at org.apache.activemq.ActiveMQSslConnectionFactory.loadClientCredential(ActiveMQSslConnectionFactory.java:158)
at org.apache.activemq.ActiveMQSslConnectionFactory.createKeyManager(ActiveMQSslConnectionFactory.java:142)
at org.apache.activemq.ActiveMQSslConnectionFactory.createTransport(ActiveMQSslConnectionFactory.java:105)
... 51 more
我在密鑰庫文件D:\ ActiveMQCertificates \ broker.ks。但hermes無法加載資源。
在愛馬仕的配置是
brokerURL:SSL://本地主機:61616 的keyStore:d:\ ActiveMQCertificates \ broker.ks KeystorePaswword:XXXXX
如何指定愛馬仕的密鑰存儲路徑? 在這幫助我。
感謝, 馬赫什
您是否成功連接到ActiveMQ(沒有hermes)? – Rao 2015-02-06 00:11:11