Created attachment 916333 [details] Reproducer app Description of problem: When deploying two war applications containing resteasy-spring jar, second deployment fails. Version-Release number of selected component (if applicable): EAP 6.3.0.ER9 How reproducible: always Steps to Reproduce: 1. Take two war files (rename one from the attachment) 2. Start EAP in standalone mode 3. Copy both wars into $JBOSS_HOME/standalone/deployments Actual results: First war deployment succeeds, second deployment results to the following error: 13:10:54,277 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "resteasy-spring-integration-test2.war" (runtime-name: "resteasy-spring-integration-test2.war") 13:10:55,496 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."resteasy-spring-integration-test2.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."resteasy-spring-integration-test2.war".DEPENDENCIES: JBAS018733: Failed to process phase DEPENDENCIES of deployment "resteasy-spring-integration-test2.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-18.jar:7.4.0.Final-redhat-18] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.io.IOException: VFS000017: Filesystem already mounted at mount point ""/home/kanovotn/RESTEasy/EAP_6.3.0.ER9/jboss-eap-6.3/modules/system/layers/base/org/jboss/resteasy/resteasy-spring/main/bundled/resteasy-spring-jar/resteasy-spring-2.3.8.Final-redhat-3.jar"" at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.deploy(JaxrsSpringProcessor.java:204) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-18.jar:7.4.0.Final-redhat-18] ... 5 more Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.io.IOException: VFS000017: Filesystem already mounted at mount point ""/home/kanovotn/RESTEasy/EAP_6.3.0.ER9/jboss-eap-6.3/modules/system/layers/base/org/jboss/resteasy/resteasy-spring/main/bundled/resteasy-spring-jar/resteasy-spring-2.3.8.Final-redhat-3.jar"" at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.getResteasySpringVirtualFile(JaxrsSpringProcessor.java:134) at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.deploy(JaxrsSpringProcessor.java:200) ... 6 more Caused by: java.io.IOException: VFS000017: Filesystem already mounted at mount point ""/home/kanovotn/RESTEasy/EAP_6.3.0.ER9/jboss-eap-6.3/modules/system/layers/base/org/jboss/resteasy/resteasy-spring/main/bundled/resteasy-spring-jar/resteasy-spring-2.3.8.Final-redhat-3.jar"" at org.jboss.vfs.VFS.mount(VFS.java:127) [jboss-vfs-3.2.5.Final-redhat-1.jar:3.2.5.Final-redhat-1] at org.jboss.vfs.VFS.doMount(VFS.java:336) [jboss-vfs-3.2.5.Final-redhat-1.jar:3.2.5.Final-redhat-1] at org.jboss.vfs.VFS.mountZip(VFS.java:360) [jboss-vfs-3.2.5.Final-redhat-1.jar:3.2.5.Final-redhat-1] at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.getResteasySpringVirtualFile(JaxrsSpringProcessor.java:114) ... 7 more Expected results: Both wars are deployed successfully. Additional info: This issue was reproduced on 6.3.0.ER9 only. I doesn't apply to 6.3.0.ER7 and 6.2.4.
Regression comparing to 6.2.0 GA and 6.3.0 ER7.
*** Bug 1117250 has been marked as a duplicate of this bug. ***
Reproducers are in the duplicate https://bugzilla.redhat.com/show_bug.cgi?id=1117250. Copying https://bugzilla.redhat.com/show_bug.cgi?id=1117250#c1: This is likely related to the upgrade done for https://bugzilla.redhat.com/show_bug.cgi?id=1090053#c12 which Fernando wanted for ER9. A test in the EAP codebase as mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1090053#c10 should hopefully help against future regressions.
https://github.com/jbossas/jboss-eap/pull/1504
Verified with attached reproducer in EAP 6.3.0.ER10.