[ 
https://issues.apache.org/jira/browse/ARTEMIS-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lucian Burja updated ARTEMIS-5440:
----------------------------------
     Attachment: console.png
    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:



{{<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.

  was:
In our organisation, we're running the ActiveMQ Artemis Web Console under a 
custom context path (/artemis/console)


In etc/bootstrap.xml, I have:

<web bind="http://0.0.0.0:8161"; path="web">
    <app url="artemis/console" war="console.war"/>
</web>

 

This works well on 2.38.0, but not on 2.40.0 (I have followed all the steps in 
the migration guide).

In 2.40.0, when accessing the console, I see that the browser is redirected to 
/console instead of /artemis/console

Is there maybe a different configuration that I can apply? Or is this a 
regression?

        Summary: New Artemis Management Console not working under custom 
context path  (was: Running ActiveMQ Artemis Web Console under a different 
context path is not working)

> 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:
> {{<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.



--
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


Reply via email to