I am using an open liberty to deploy a war using the application tag in the server.xml. I am required to change the context_root for an application but I want the current context root to redirect to the new url. Alternatively, if it were possible, I could use two context roots for the same app. I cannot find the answer in their documentation.
<application id="demo" location = "demo-0.0.3-SNAPSHOT.war" name="demo" context-root="/test"></application>
What are my options here for making changing /test to /newroot where my.host/test will redirect to my.host/newurl from within the server.xml?