Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2871

Deploying a 2nd WAR file gives VFS000017 for resteasy-spring module

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Duplicate
    • Major
    • None
    • 8.0.0.Final
    • Server
    • None

    Description

      Sample trace:

      2014-02-05 18:02:17,346 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."two.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."two.war".DEPENDENCIES: JBAS018733: Failed to process phase DEPENDENCIES of deployment "two.war"
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0]
              at java.lang.Thread.run(Thread.java:744) [rt.jar:1.8.0]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.io.IOException: VFS000017: Filesystem already mounted at mount point ""/opt/jboss/wildfly-8.0.0.Final-SNAPSHOT/modules/system/layers/base/org/jboss/resteasy/resteasy-spring/main/bundled/resteasy-spring.jar""
              at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.deploy(JaxrsSpringProcessor.java:126)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
              ... 5 more
      Caused by: java.io.IOException: VFS000017: Filesystem already mounted at mount point ""/opt/jboss/wildfly-8.0.0.Final-SNAPSHOT/modules/system/layers/base/org/jboss/resteasy/resteasy-spring/main/bundled/resteasy-spring.jar""
              at org.jboss.vfs.VFS.mount(VFS.java:127)
              at org.jboss.vfs.VFS.doMount(VFS.java:336)
              at org.jboss.vfs.VFS.mountZip(VFS.java:360)
              at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.deploy(JaxrsSpringProcessor.java:119)
              ... 6 more
      
      2014-02-05 18:02:17,349 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "two.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"two.war\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"two.war\".DEPENDENCIES: JBAS018733: Failed to process phase DEPENDENCIES of deployment \"two.war\"
          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.io.IOException: VFS000017: Filesystem already mounted at mount point \"\"/opt/jboss/wildfly-8.0.0.Final-SNAPSHOT/modules/system/layers/base/org/jboss/resteasy/resteasy-spring/main/bundled/resteasy-spring.jar\"\"
          Caused by: java.io.IOException: VFS000017: Filesystem already mounted at mount point \"\"/opt/jboss/wildfly-8.0.0.Final-SNAPSHOT/modules/system/layers/base/org/jboss/resteasy/resteasy-spring/main/bundled/resteasy-spring.jar\"\""}}
      

      A stackoverflow poster appears to have the same problem: http://stackoverflow.com/questions/21565734/resteasy-spring-module-in-jboss-wildfly-8

      Attachments

        Activity

          People

            jgreene@redhat.com Jason Greene
            stevestorey1 Steve Storey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: