Gašper Čefarin created ARTEMIS-5632: ---------------------------------------
Summary: mvn jetty:run starts 2 versions of console Key: ARTEMIS-5632 URL: https://issues.apache.org/jira/browse/ARTEMIS-5632 Project: ActiveMQ Artemis Issue Type: Bug Components: Web Console Affects Versions: console-1.2.1 Reporter: Gašper Čefarin Up to debate as to what to do about this situation. Notice how jetty runs 2 consoles, the "last" one being the one that is actually served: {code:java} C:\git\activemq-artemis-console\artemis-console-war\target/artemis-console-war-1.3.0-SNAPSHOT.war file:///C:/git/activemq-artemis-console/artemis-console-war/src/main/webapp{code} {code:java} [INFO] — jetty-maven-plugin:11.0.24:run (default-cli) @ artemis-console-war — [INFO] Configuring Jetty for project: ActiveMQ Artemis Console War [INFO] Classes = C:\git\activemq-artemis-console\artemis-console-war\target\classes [INFO] Context path = / [INFO] Tmp directory = C:\git\activemq-artemis-console\artemis-console-war\target\tmp [INFO] web.xml file = file:///C:/git/activemq-artemis-console/artemis-console-war/src/main/webapp/WEB-INF/web.xml [INFO] Webapp directory = C:\git\activemq-artemis-console\artemis-console-war\src\main\webapp [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml [INFO] Web overrides = none [INFO] jetty-11.0.24; built: 2024-08-26T18:11:22.448Z; git: 5dfc59a691b748796f922208956bd1f2794bcd16; jvm 18+36-2087 [INFO] Session workerName=node0 2025-08-22 13:07:23,500 INFO [io.hawt.HawtioContextListener] Initialising Hawtio services 2025-08-22 13:07:23,539 INFO [io.hawt.jmx.JmxTreeWatcher] Welcome to Hawtio 4.4.1 2025-08-22 13:07:23,542 INFO [io.hawt.web.auth.AuthenticationConfiguration] Authentication throttling is enabled 2025-08-22 13:07:23,561 INFO [io.hawt.web.auth.AuthenticationConfiguration] Starting hawtio authentication filter, JAAS authentication disabled 2025-08-22 13:07:23,596 INFO [io.hawt.web.auth.ClientRouteRedirectFilter] Hawtio ClientRouteRedirectFilter is using 1800 sec. HttpSession timeout 2025-08-22 13:07:23,629 INFO [io.hawt.system.ProxyAllowlist] Probing local addresses ... 2025-08-22 13:07:42,135 INFO [io.hawt.system.ProxyAllowlist] Initial proxy allowlist: [localhost, 127.0.0.1, 192.168.56.1, root, 192.168.8.68, 10.236.4.10] 2025-08-22 13:07:42,191 INFO [io.hawt.web.servlets.JolokiaConfiguredAgentServlet] Jolokia has not found any overriden configuration property passed at launch time; Default configuration values will be used. [INFO] jolokia-agent: No access restrictor found, access to any MBean is allowed [INFO] Started o.e.j.m.p.MavenWebAppContext@35e2b89f{Artemis Console,/console,file:///C:/Users/root/AppData/Local/Temp/jetty-0_0_0_0-0-artemis-console-war-1_3_0-SNAPSHOT_war-_console-any-7289133116068138271/webapp/,AVAILABLE} {C:\git\activemq-artemis-console\artemis-console-war\target/artemis-console-war-1.3.0-SNAPSHOT.war} 2025-08-22 13:07:44,040 INFO [io.hawt.HawtioContextListener] Initialising Hawtio services 2025-08-22 13:07:44,051 INFO [io.hawt.jmx.JmxTreeWatcher] Welcome to Hawtio 4.4.1 2025-08-22 13:07:44,054 INFO [io.hawt.web.auth.AuthenticationConfiguration] Authentication throttling is enabled 2025-08-22 13:07:44,071 INFO [io.hawt.web.auth.AuthenticationConfiguration] Starting hawtio authentication filter, JAAS authentication disabled 2025-08-22 13:07:44,100 INFO [io.hawt.web.auth.ClientRouteRedirectFilter] Hawtio ClientRouteRedirectFilter is using 1800 sec. HttpSession timeout 2025-08-22 13:07:44,120 INFO [io.hawt.system.ProxyAllowlist] Probing local addresses ... 2025-08-22 13:08:02,392 INFO [io.hawt.system.ProxyAllowlist] Initial proxy allowlist: [localhost, 127.0.0.1, 192.168.56.1, root, 192.168.8.68, 10.236.4.10] 2025-08-22 13:08:02,449 INFO [io.hawt.web.servlets.JolokiaConfiguredAgentServlet] Jolokia has not found any overriden configuration property passed at launch time; Default configuration values will be used. [INFO] jolokia-agent: No access restrictor found, access to any MBean is allowed [INFO] Started o.e.j.m.p.MavenWebAppContext@38732372{Artemis Console,/,file:///C:/git/activemq-artemis-console/artemis-console-war/src/main/webapp/,AVAILABLE} {file:///C:/git/activemq-artemis-console/artemis-console-war/src/main/webapp/} [INFO] Started ServerConnector@4e553d60{HTTP/1.1, (http/1.1)} {0.0.0.0:8080} [INFO] Started Server@6f07d414{STARTING}[11.0.24,sto=0] @55405ms [INFO] Scan interval sec = 10 {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org For additional commands, e-mail: issues-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact