-
Bug
-
Resolution: Unresolved
-
Major
-
6.0.0.Final
-
None
-
Workaround Exists
-
Example: Two war's will be deployed, The first has virtual-host=www.foo.com and context-root="/", the second has virtual-host=www.bar.com and context-root="/".
This will cause an exception with message "Web mapping already exjsts for deployment" from org.jboss.web.tomcat.service.deployers.TomcatDeployer.performDeployInternal line 214.
The cause of the issue is in TomcatDeployer.mapVirtualHosts, see the forum post for an analyze. A sidenote, the javadoc is incorrect on that method as well.