Details
-
Feature Request
-
Resolution: Obsolete
-
Major
-
None
-
None
-
Documentation (Ref Guide, User Guide, etc.), Release Notes, Compatibility/Configuration
-
0
-
0%
Description
User has requested the following:
When a WAR is being deployed as part of an EAR, along configuration of the virtual-host to which the web application is published within the EAR's deployment descriptor. Very much like they can control the context-root for the WAR from the EAR. For example:
jboss-app.xml:
<jboss-app>
<module>
<web>
<web-uri>example-1.0.0.war</web-uri>
<context-root>/example</context-root>
<virtual-host>us</virtual-host>
<virtual-host>canada</virtual-host>
</web>
</module>
</jboss-app>
This would allow the context root and virtual host list to be controlled from the EAR's deployment descriptor instead of having to extract the WAR from the EAR, modify the WAR's deployment descriptor and then repackage the EAR. As the EAR currently supports the functionality of overriding the WAR's deployment information it would make sense that this would be something that could be overridden.