Is it possible to globally change context path of WAR applications deployed in JBoss EAP 5?
Issue
- Is it possible to globally force an additional part of the context path. Like, to force all WARs to be deployed like this:
/admin/web-console while jboss-web.xml just states "web-console" as context
/admin/jmx-console while jboss-web.xml just states "jmx-console" as context
- Every webapp that gets deployed should get a fixed context appended before the real context.
- We want to know if it is possible to extend the web-context like for example: 2 webapps "app1" and "app2" deploy withe contexts "/app1" and "/app2" . We now would like to adjust this globalyl in jboss by the path "/subcontext" so the apps deploy as:
- /subcontext/app1
- /subcontext/app2
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
