Can I deploy a war file with multiple different context-root in JBoss EAP ?
Issue
I have a war deployment test.war, can I deploy it with 2 different context-root names (for example, /test1 and /test2) on JBoss Enterprise Application Platform (EAP) ?
In application.xml:
<module>
<web>
<web-uri>test.war</web-uri>
<context-root>test1</context-root>
</web>
</module>
<module>
<web>
<web-uri>test.war</web-uri>
<context-root>test2</context-root>
</web>
</module>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
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.
