In JBoss, is it possible to deploy a web application on two context paths? I'd like same war instance available on / as well as /path , so, requests like '/abc' and '/path/abc' both hit same instance of the web app.
I tried :
<module>
<web>
<web-uri>web-app.war</web-uri>
<context-root>/</context-root>
</web>
</module>
<module>
<web>
<web-uri>web-app.war</web-uri>
<context-root>/path</context-root>
</web>
</module>
but looks like it gets deployed only on /path. All requests to '/abc' are 404s.
Any suggestions?