ActiveMQ 默认的 system 用户的密码是多少?
在 activemq.xml 中配置了身份验证,如下:
<plugins> <jaasAuthenticationPlugin configuration="activemq-domain"/> </plugins>
当在 web 控制台上 browse Queue 时,data/activemq.log 有如下报错:
java.lang.SecurityException: User name [system] or password is invalid. at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:80)[activemq-broker-5.10.2.jar:5.10.2] at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:102)[activemq-broker-5.10.2.jar:5.10.2] at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:809)[activemq-broker-5.10.2.jar:5.10.2] at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)[activemq-client-5.10.2.jar:5.10.2] at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:334)[activemq-broker-5.10.2.jar:5.10.2] at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188)[activemq-broker-5.10.2.jar:5.10.2] at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)[activemq-client-5.10.2.jar:5.10.2] at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[activemq-client-5.10.2.jar:5.10.2] at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:248)[activemq-broker-5.10.2.jar:5.10.2] at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:112)[activemq-client-5.10.2.jar:5.10.2] at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42)[activemq-client-5.10.2.jar:5.10.2]该将 system 用户的密码设置为多少?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在credentials.properties配置
activemq.username=system
activemq.password=manager
guest.password=password