【发布时间】:2015-04-05 08:19:40
【问题描述】:
我无法在中配置 org.apache.activemq.ActiveMQSslConnectionFactory HermesJMS.It 最后说一个错误
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 无法加载资源。
Hermes 中的配置是
brokerURL : ssl://localhost:61616 密钥库:D:\ActiveMQCertificates\broker.ks 密钥库密码:xxxxx
Hermes中如何指定keystore路径? 帮帮我。
谢谢, 马赫什
【问题讨论】:
-
你连接ActiveMQ(不带hermes)成功了吗?
标签: java ssl jms activemq soapui