cd ~/scratch
git clone https: //github.com/wildfly-swarm/wildfly-swarm-examples
cd jaxrs/jaxrs
mvn clean package
java -jar target/*-swarm.jar -Dswarm.context.path=/my-path
ACTUAL: The log contains
INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 4) WFLYUT0021: Registered web context: /
http://127.0.0.1/my-path returns `This is our exception page!`
EXPECTED: The log contains
INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 4) WFLYUT0021: Registered web context: /my-path
http://127.0.0.1/my-path should return `Howdy at ...`
Workaround: change order of CLI args:
java -Dswarm.context.path=/my-path -jar target/*-swarm.jar