In apache you need to mount the context /* (with JKMount or equivilant)
then in your war file in th WEB-INF directory, include a file called jboss-web.xml and in that file put
I hope I understood your question
Clevanger - Thanks for the answer.
Are there any additional operations to perform when my WAR files are deployed inside EARs as opposed to just WARs on their own?
Actually - that doesn't work for me. The first EAR deploys ok, but when JBoss goes to deploy my second, I get this exception:
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwabl
e: (java.lang.IllegalArgumentException: addChild: Child name '' is not unique)
Now this is obviously because I have defined 2 WARs with the context of '/', but isn't this what I need to do to configure 2 separate virtual hosts?
Just to update - I got this going finally after reading the Quickstart guide (doh!) and finding that I had to edit tomcat41-service.xml to include my virtual host details.
I don't understand why nobody else has mentioned this - is everyone using Jetty?