Description
War files cannot be deployed to multiple virtual-hosts. Using jboss-web.xml it is possible to define multiple virtual hosts. Here is the schema that allows such declarations: http://www.jboss.org/schema/jbossweb/jboss-web_6_0.xsd
Sample jboss-web.xml:
<jboss-web>
<virtual-host>test1</virtual-host>
<virtual-host>test2</virtual-host>
</jboss-web>