We are still doing some hacky integration between the ws deployers and the war deployer. The WebMetaData/JBossWebMetaData processing should be sufficiently authoritative at this point that we don't need to write out a modified web.xml. I'm not sure this is still being used in org.jboss.web.deployers.AbstractWarDeployment:
// Get the war URL // FIXME: JBAS-3812 - TomcatDeployment should use modified WebMetaData URL warURL = unit.getAttachment("org.jboss.web.expandedWarURL", URL.class); if( warURL == null ) warURL = unit.getAttachment("jbossws.expanded.war.url", URL.class); if (warURL == null) warURL = unit.getRoot().toURL();
OK, will do:
http://jira.jboss.org/jira/browse/JBWS-1967