this has got to be a stupid question but my Google-fu fails me. I have a JBoss server (actually EAP 6.1) and a packaged web application, myapp.war
.
By copying the file to .../standalone/deployments/
it gets deployed to <server>/myapp
. Renaming the file to somename.war
, it becomes <server>/somename
, and ROOT.war
gets deployed directly on <server
.
So far so good.
But how do I get the application to appear under e.g. <server>/antares/myapp
?
I tried simply making a subdirectory under deployments/
and placing my war file there, but that still gets deployed simply as <server>/myapp
. I also read somewhere on a Tomcat forum to call my file antares#myapp.war
, but that resulted in an error when the deployment scanner tried to run it.
Searching around on the web, I so far mostly found (a) descriptions of the folder and subfolder structure of a web project or (b) things about projects and sub-projects and how to handle dependencies.
I don't need all of that, I just want my perfectly fine war file to show up with a slightly deeper path. Preferably without having to touch many configuration files.
What am I missing?