[
https://issues.apache.org/jira/browse/ARTEMIS-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram updated ARTEMIS-5440:
------------------------------------
Description:
In our organisation we're running the ActiveMQ Artemis Management Console under
a custom context path (i.e., {{/artemis/console}}).
In {{etc/bootstrap.xml}} we configure it like this:
{code:xml}
<web bind="http://0.0.0.0:8161" path="web">
<app url="artemis/console" war="console.war"/>
</web>{code}
This setup works as expected in version 2.38.0 but fails in 2.40.0
In 2.40.0 when accessing the console I see that:
* The browser correctly redirects to {{/artemis/console/login}}
* However, the loaded HTML sets the {{<base href>}} to {{/console/}} instead
of {{/artemis/console/}}
!console.png!
was:
In our organisation, we're running the ActiveMQ Artemis Management Console
under a custom context path (i.e., {{{}/artemis/console{}}})
In {{{}etc/bootstrap.xml{}}}, we configure it like this:
{{<web bind="http://0.0.0.0:8161" path="web">}}
{{ <app url="artemis/console" war="console.war"/>}}
{{</web>}}
This setup works as expected in version 2.38.0, but fails in 2.40.0
In 2.40.0, when accessing the console, I see that:
* The browser correctly redirects to {{/artemis/console/login}}
* However, the loaded HTML sets the {{<base href>}} to {{/console/}} instead
of {{/artemis/console/}}
I have attached a screenshot that shows the various HTTP calls, and the error
described above.
> New Artemis Management Console not working under custom context path
> --------------------------------------------------------------------
>
> Key: ARTEMIS-5440
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5440
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Web Console
> Affects Versions: 2.40.0
> Reporter: Lucian Burja
> Priority: Major
> Attachments: console.png
>
>
> In our organisation we're running the ActiveMQ Artemis Management Console
> under a custom context path (i.e., {{/artemis/console}}).
> In {{etc/bootstrap.xml}} we configure it like this:
> {code:xml}
> <web bind="http://0.0.0.0:8161" path="web">
> <app url="artemis/console" war="console.war"/>
> </web>{code}
> This setup works as expected in version 2.38.0 but fails in 2.40.0
> In 2.40.0 when accessing the console I see that:
> * The browser correctly redirects to {{/artemis/console/login}}
> * However, the loaded HTML sets the {{<base href>}} to {{/console/}} instead
> of {{/artemis/console/}}
> !console.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact