1 Reply Latest reply on Nov 4, 2013 9:04 AM by Bartosz Majsak

    Arquillian ZipException when using remote container

    can kesen Newbie

      Hey,

       

       

      I get the following error when trying to run mn arquillian test to local running jboss as 7.2 server using jboss.remote container. Any ideas how this can be fixed?

       

      log:

       

      10:38:25,426 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment test.war (runtime-name: test.war) in 0ms

      10:38:25,426 ERROR [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "test.war" was rolled back with the following failure message:

      {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"test.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"test.war\".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment \"test.war\"

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018740: Failed to mount deployment content

          Caused by: java.util.zip.ZipException: error in opening zip file"}}

      10:50:23,174 ERROR [org.jboss.remoting.remote.connection] (Remoting "viewb194:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen

      10:50:23,206 INFO  [org.jboss.as.repository] (management-handler-thread - 5) JBAS014900: Content added at location C:\Agfa\jboss-as\standalone\data\content\e2\a5b54d0b4a11d1f7440692ff76b5e6a4a9a970\content

      10:50:23,208 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "test.war" (runtime-name: "test.war")

      10:50:23,215 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."test.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."test.war".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "test.war"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]

          at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]

      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:92) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

          ... 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_25]

          at java.util.zip.ZipFile.<init>(ZipFile.java:215) [rt.jar:1.7.0_25]

          at java.util.zip.ZipFile.<init>(ZipFile.java:145) [rt.jar:1.7.0_25]

          at java.util.zip.ZipFile.<init>(ZipFile.java:159) [rt.jar:1.7.0_25]

          at org.jboss.vfs.VFSUtils.unzip(VFSUtils.java:845)

          at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:536)

          at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:567)

          at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:97) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:88) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

          ... 6 more

       

      10:50:23,246 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war (runtime-name: test.war) in 0ms

      10:50:23,247 ERROR [org.jboss.as.server] (management-handler-thread - 5) JBAS015870: Deploy of deployment "test.war" was rolled back with the following failure message:

      {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"test.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"test.war\".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment \"test.war\"

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018740: Failed to mount deployment content

          Caused by: java.util.zip.ZipException: error in opening zip file"}}