Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2405

Exploded webapps in ModeShape EAP/WF kit not deploying

    XMLWordPrintable

Details

    Description

      ModeShape's built-in webapps for Wildfly/EAP (REST, WebDAV etc) support in theory both being packaged as wars (the default) or be part of an exploded directory. In the latter case, one would require a slight configuration change:

       <webapp name="modeshape-rest" exploded="true"/>
      

      This however does not work ATM and the server fails with:

      18:21:28,408 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit.modeshape-rest.STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit.modeshape-rest.STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "modeshape-rest"
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
              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.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
              at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018740: Failed to mount deployment content
              at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:97) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
              ... 5 more
      Caused by: java.util.zip.ZipException: error in opening zip file
              at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.7.0_40]
              at java.util.zip.ZipFile.<init>(ZipFile.java:215) [rt.jar:1.7.0_40]
              at java.util.zip.ZipFile.<init>(ZipFile.java:145) [rt.jar:1.7.0_40]
              at java.util.jar.JarFile.<init>(JarFile.java:153) [rt.jar:1.7.0_40]
              at java.util.jar.JarFile.<init>(JarFile.java:117) [rt.jar:1.7.0_40]
              at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:94) [jboss-vfs-3.2.5.Final-redhat-1.jar:3.2.5.Final-redhat-1]
              at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:81) [jboss-vfs-3.2.5.Final-redhat-1.jar:3.2.5.Final-redhat-1]
              at org.jboss.vfs.VFS.mountZip(VFS.java:386) [jboss-vfs-3.2.5.Final-redhat-1.jar:3.2.5.Final-redhat-1]
              at org.jboss.vfs.VFS.mountZip(VFS.java:410) [jboss-vfs-3.2.5.Final-redhat-1.jar:3.2.5.Final-redhat-1]
              at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:105) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
              at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:93) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
              ... 6 more
      

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: