I have an application that is to be deployed in a WAR file (app.war). After deployment it is available from http://:8080/app I would like to have it being made available as something like http://:8080/secret/app
I searched the documentation and for JBoss'es 5 and 6 this seems to be able to do with a jboss-web.xml file. I have tried it but with no luck. It seems that JBoss 7 just ignores the element inside jboss-web.xml.
I don't know if this is relevant but this application has both JSF and PrettyFaces.
Does anyone know if this behavior is possible with JBoss 7? If so, how can it be done? I am still trying to find an answer for this.
Thank you.