访问 ActiveMQ Artemis Web 控制台
Access the ActiveMQ Artemis web console
控制台在bootstrap.xml
配置的ActiveMQ Artemis docs状态如下:
The embedded Jetty instance is configured in etc/bootstrap.xml via the web element, e.g.:
<web path="web">
<binding uri="http://localhost:8161">
<app url="activemq-branding" war="activemq-branding.war"/>
<app url="artemis-plugin" war="artemis-plugin.war"/>
<app url="console" war="console.war"/>
</binding>
</web>
The web
element has the following attributes:
path
: The name of the subdirectory in which to find the web application archives (i.e. WAR files). This is a subdirectory of the broker's home or instance directory.
代理实例没有 web
目录。是否应将带有 Web ARchive 的 web
文件夹复制到代理实例目录中?
简而言之,没有。
请注意,ActiveMQ Artemis 文档对 web
目录(重点是我的)说了这一点:
This is a subdirectory of the broker's home or instance directory.
默认情况下,Web 控制台所需的存档位于代理的 home 目录中,因此无需在 [=25] 上创建 web
目录=]instance 并将这些文件复制到那里。
当代理启动时,默认情况下您应该看到这样的日志记录:
INFO [org.apache.activemq.artemis] AMQ241004: Artemis Console available at http://localhost:8161/console
如果您将浏览器指向指定的 URL,您将能够使用您在使用 artemis create
命令创建代理时配置的凭据登录到 Web 控制台。
控制台在bootstrap.xml
配置的ActiveMQ Artemis docs状态如下:
The embedded Jetty instance is configured in etc/bootstrap.xml via the web element, e.g.:
<web path="web"> <binding uri="http://localhost:8161"> <app url="activemq-branding" war="activemq-branding.war"/> <app url="artemis-plugin" war="artemis-plugin.war"/> <app url="console" war="console.war"/> </binding> </web>
The
web
element has the following attributes:
path
: The name of the subdirectory in which to find the web application archives (i.e. WAR files). This is a subdirectory of the broker's home or instance directory.
代理实例没有 web
目录。是否应将带有 Web ARchive 的 web
文件夹复制到代理实例目录中?
简而言之,没有。
请注意,ActiveMQ Artemis 文档对 web
目录(重点是我的)说了这一点:
This is a subdirectory of the broker's home or instance directory.
默认情况下,Web 控制台所需的存档位于代理的 home 目录中,因此无需在 [=25] 上创建 web
目录=]instance 并将这些文件复制到那里。
当代理启动时,默认情况下您应该看到这样的日志记录:
INFO [org.apache.activemq.artemis] AMQ241004: Artemis Console available at http://localhost:8161/console
如果您将浏览器指向指定的 URL,您将能够使用您在使用 artemis create
命令创建代理时配置的凭据登录到 Web 控制台。