I'm using the bundle JBoss/Tomcat and would like to deploy an application by the virtual hosts functionality of Tomcat.
Here, I would like to deploy two applications to the context root "/" for different hostnames of the same machine. For example,
aaa.war is deployed to "/" of www.aaa.com
bbb.war is deployed to "/" of www.bbb.com
Is it possible to do so? If yes, what configuration files I need to edit for this to happen?
Does it work the same with Jetty ?
Yes it is possible as I have recently learned. View this thread:
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= tried the context but not the virtual hosts on both Tomcat and Jetty with JBoss 3.2.0. They work.