[
https://issues.apache.org/jira/browse/ARTEMIS-3888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17568662#comment-17568662
]
ASF subversion and git services commented on ARTEMIS-3888:
----------------------------------------------------------
Commit 695bc5a6484938f288258d618d8cc12bc695dcbd in activemq-artemis's branch
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=695bc5a648 ]
ARTEMIS-3888 make web console detection more robust
Currently the broker detects the presence of the web console by looking
for the name of a file (i.e. console.war). This is fragile because if
the file is renamed for any reason then the broker won't print the
status of the web console when it starts.
This commit improves web console detection by inspecting the
<display-name> tag in the war file's WEB-INF/web.xml. By default it
looks for "hawtio", but this can be customized using the system property
"org.apache.activemq.artemis.webConsoleDisplayName".
> Make web console detection more robust
> --------------------------------------
>
> Key: ARTEMIS-3888
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3888
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently the broker detects the presence of the web console by looking for
> the *name* of a file (i.e. {{console.war}}). This is fragile because if the
> file is renamed for any reason then the broker won't print the status of the
> web console when it starts.
> The broker needs to use a more robust way of detecting the presence of the
> web console.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)