ActiveMQ Artemis Web 控制台在构建后未运行

问题描述 投票:0回答:1

我已经根据存储库中提供的手册从其存储库构建了ActiveMQ Artemis Web控制台。

构建已成功,尽管当我尝试测试运行控制台并转到 /console 路径时,我遇到 404 浏览器错误,并且控制台中出现以下文本:

org.eclipse.jetty.io.EofException: Closed
    at org.eclipse.jetty.server.HttpOutput.checkWritable (HttpOutput.java:747)
    at org.eclipse.jetty.server.HttpOutput.write (HttpOutput.java:777)
    at java.io.OutputStream.write (OutputStream.java:127)
    at io.hawt.web.filters.BaseTagHrefFilter.doFilter (BaseTagHrefFilter.java:75)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle (ServletHandler.java:527)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:131)
    at org.eclipse.jetty.security.SecurityHandler.handle (SecurityHandler.java:616)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:122)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:223)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle (SessionHandler.java:1580)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:221)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle (ContextHandler.java:1381)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:176)
    at org.eclipse.jetty.servlet.ServletHandler.doScope (ServletHandler.java:484)
    at org.eclipse.jetty.server.session.SessionHandler.doScope (SessionHandler.java:1553)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:174)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope (ContextHandler.java:1303)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:129)
    at org.eclipse.jetty.server.Dispatcher.forward (Dispatcher.java:215)
    at org.eclipse.jetty.server.Dispatcher.forward (Dispatcher.java:135)
    at io.hawt.web.auth.Redirector.doForward (Redirector.java:45)
    at io.hawt.web.auth.ClientRouteRedirectFilter.doFilter (ClientRouteRedirectFilter.java:164)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.filters.HttpHeaderFilter.doFilter (HttpHeaderFilter.java:56)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.filters.HttpHeaderFilter.doFilter (HttpHeaderFilter.java:56)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.filters.HttpHeaderFilter.doFilter (HttpHeaderFilter.java:56)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.filters.HttpHeaderFilter.doFilter (HttpHeaderFilter.java:56)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.filters.HttpHeaderFilter.doFilter (HttpHeaderFilter.java:56)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.filters.HttpHeaderFilter.doFilter (HttpHeaderFilter.java:56)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.filters.HttpHeaderFilter.doFilter (HttpHeaderFilter.java:56)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.filters.HttpHeaderFilter.doFilter (HttpHeaderFilter.java:56)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.filters.HttpHeaderFilter.doFilter (HttpHeaderFilter.java:56)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at io.hawt.web.auth.SessionExpiryFilter.process (SessionExpiryFilter.java:89)
    at io.hawt.web.auth.SessionExpiryFilter.doFilter (SessionExpiryFilter.java:60)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:210)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter (WebSocketUpgradeFilter.java:170)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter (FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter (ServletHandler.java:1635)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle (ServletHandler.java:527)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:131)
    at org.eclipse.jetty.security.SecurityHandler.handle (SecurityHandler.java:598)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:122)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:223)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle (SessionHandler.java:1580)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:221)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle (ContextHandler.java:1381)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:176)
    at org.eclipse.jetty.servlet.ServletHandler.doScope (ServletHandler.java:484)
    at org.eclipse.jetty.server.session.SessionHandler.doScope (SessionHandler.java:1553)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:174)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope (ContextHandler.java:1303)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:129)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle (ContextHandlerCollection.java:192)
    at org.eclipse.jetty.server.handler.HandlerList.handle (HandlerList.java:51)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:122)
    at org.eclipse.jetty.server.Server.handle (Server.java:563)
    at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch (HttpChannel.java:1598)
    at org.eclipse.jetty.server.HttpChannel.dispatch (HttpChannel.java:753)
    at org.eclipse.jetty.server.HttpChannel.handle (HttpChannel.java:501)
    at org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:287)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded (AbstractConnection.java:314)
    at org.eclipse.jetty.io.FillInterest.fillable (FillInterest.java:100)
    at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run (SelectableChannelEndPoint.java:53)
    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask (AdaptiveExecutionStrategy.java:421)
    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask (AdaptiveExecutionStrategy.java:390)
    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce (AdaptiveExecutionStrategy.java:277)
    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run (AdaptiveExecutionStrategy.java:199)
    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run (ReservedThreadExecutor.java:411)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:969)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob (QueuedThreadPool.java:1194)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run (QueuedThreadPool.java:1149)
    at java.lang.Thread.run (Thread.java:840)

我不明白为什么每次都会发生这种情况。我试图更改 Jetty 的版本,但没有任何改变。有什么想法吗?

jetty activemq-artemis hawtio
1个回答
0
投票

这对我有用......

控制台命令:

git clone [email protected]:apache/activemq-artemis-console.gi
cd activemq-artemis-console/
mvn clean install
cd artemis-console-war
mvn jetty:run -Dskip.yarn

经纪人的命令:

wget https://dlcdn.apache.org/activemq/activemq-artemis/2.38.0/apache-artemis-2.38.0-bin.zip
unzip apache-artemis-2.38.0-bin.zip
cd apache-artemis-2.38.0/bin/
./artemis create consoleTest --user myUser --password myPass --require-login
cd consoleTest/bin/
./artemis run

然后我在浏览器中打开 http://localhost:8080/console 并添加了一个连接: enter image description here 然后我添加了以下连接详细信息: enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.