This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch activemq-5.17.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/activemq-5.17.x by this push:
     new b5126f6e7 [AMQ-9062] Fix Web-ContextPath with Pax Web 8.0.x
b5126f6e7 is described below

commit b5126f6e7bcd5bee1bfef3e8cee4b7f614cc16d7
Author: Jean-Baptiste Onofré <[email protected]>
AuthorDate: Mon Nov 21 14:51:45 2022 +0100

    [AMQ-9062] Fix Web-ContextPath with Pax Web 8.0.x
    
    (cherry picked from commit c563f6e35572d0d4a0b268190c1600c9e2441b62)
---
 activemq-web-console/pom.xml | 2 +-
 activemq-web-demo/pom.xml    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/activemq-web-console/pom.xml b/activemq-web-console/pom.xml
index 56bdf2447..afb20f4ca 100644
--- a/activemq-web-console/pom.xml
+++ b/activemq-web-console/pom.xml
@@ -123,7 +123,7 @@
           </supportedProjectTypes>
           <instructions>
             <Webapp-Context>activemqweb</Webapp-Context>
-            <Web-ContextPath>activemqweb</Web-ContextPath>
+            <Web-ContextPath>/activemqweb</Web-ContextPath>
             <Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>
             <Embed-Directory>WEB-INF/lib</Embed-Directory>
             <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
diff --git a/activemq-web-demo/pom.xml b/activemq-web-demo/pom.xml
index e60876696..b7e3cc21d 100644
--- a/activemq-web-demo/pom.xml
+++ b/activemq-web-demo/pom.xml
@@ -96,7 +96,7 @@
           </supportedProjectTypes>
           <instructions>
             <Webapp-Context>activemqdemo</Webapp-Context>
-            <Web-ContextPath>activemqdemo</Web-ContextPath>
+            <Web-ContextPath>/activemqdemo</Web-ContextPath>
             <Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>
             <Embed-Directory>WEB-INF/lib</Embed-Directory>
             <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>

Reply via email to