[jboss-jira] [JBoss JIRA] Created: (JBAS-7658) Support configuration of virtual host in jboss-app.xml

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Jan 26 20:42:19 EST 2010


Support configuration of virtual host in jboss-app.xml
------------------------------------------------------

                 Key: JBAS-7658
                 URL: https://jira.jboss.org/jira/browse/JBAS-7658
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Deployers, Web (Tomcat) service
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: JBossAS-6.0.0.CR1


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list