If I understand you correctly, you still want access to the "JBoss Home page" via some url such as http://localhost:8080/home
One possibility: rename ROOT.war to home.war and move it to the deploy directory
Another possibility: add a jboss-web.xml file to ROOT.war/WEB-INF and set the context (similar to what you did for your other app that is now using the "/" context)
That appears to work. I'm just curious why the default appears to be hard coded somewhere (or maybe it's just in a config file somewhere hidden?)
(btw, I did the previous by setting the path to / in application.xml, so this is technically my first use of jboss-web.xml)
Yes, I think that ROOT.war by default is assigned the '/' context.
(you didn't indicate your WAR was deployed within an EAR, so I had to make a guess as to how you deployed)
It appears to be worse than I thought. There is no "static String" set to "ROOT" which is used to identify the ROOT.war - instead the literal string "ROOT" is spread throughout the code. Along with literal strings for "/", ".war", "META-INF" and "WEB-INF". This leads me to believe that the code must be fairly old, I cannot imagine anyone writing this kind of code nowadays.