Does virtual hosting work with an EAR file? I have a series of web applications that worked fine using <virtual-host> mapping in the jboss-web.xml which is mapped to my tomcat4-service.xml file. However since I package this apps into an EAR file the virtual hosting no longer works. I believe this is because the context root specified in the application.xml for each web app is overriding the virtual host config that worked before.
Also is there a dtd for the jboss-app.xml file? I thought this might allow me to lift the mapping done in each WAR file up a level, but I cannot find a DTD.