Artemis-2.6.3 控制台:服务不可用
Artemis-2.6.3 console: Service Unavailable
我成功启动了artemis-service。但是网络控制台不工作。
命令:须藤“/usr/lib/myBroker/bin/artemis-service”开始
回复:
HTTP ERROR 503 Problem accessing /console/. Reason:
Service Unavailable
我将 bootstrap.xml 更改为从外部访问 8161 端口。
发件人:bind="http://localhost:8161"
收件人:bind="http://0.0.0.0:8161"
N.B:当我在我的本地机器上启动它时工作正常,没有变化 bootstrap.xml。
解决方案
jolokia-access.xml 出现此问题。
删除 allow-origin 并添加以下配置:
<remote>
<host>localhost</host>
<host>192.168.0.0/16</host>
</remote>
这里我允许192.168块ip
文档here
26 <!-- Allow cross origin access from localhost ... -->
27 <allow-origin>*</allow-origin>
全部匹配
当我尝试将代理设置为 Windows 服务时,我遇到了同样的问题。
经过一些尝试后,我只是通过执行来启动代理:
阿尔忒弥斯 运行
(来自代理 bin 目录)
现在我可以访问控制台了。
我成功启动了artemis-service。但是网络控制台不工作。
命令:须藤“/usr/lib/myBroker/bin/artemis-service”开始
回复:
HTTP ERROR 503 Problem accessing /console/. Reason:
Service Unavailable
我将 bootstrap.xml 更改为从外部访问 8161 端口。
发件人:bind="http://localhost:8161"
收件人:bind="http://0.0.0.0:8161"
N.B:当我在我的本地机器上启动它时工作正常,没有变化 bootstrap.xml。
解决方案
jolokia-access.xml 出现此问题。 删除 allow-origin 并添加以下配置:
<remote>
<host>localhost</host>
<host>192.168.0.0/16</host>
</remote>
这里我允许192.168块ip
文档here
26 <!-- Allow cross origin access from localhost ... -->
27 <allow-origin>*</allow-origin>
全部匹配
当我尝试将代理设置为 Windows 服务时,我遇到了同样的问题。 经过一些尝试后,我只是通过执行来启动代理:
阿尔忒弥斯 运行
(来自代理 bin 目录) 现在我可以访问控制台了。