Deployment not found in test.war
cosminmartinconi Jun 21, 2010 12:18 PMHi,
I have a small issue while working with Arquillian. Let's take for instance the RandomTestCase example you provided in the trunk, while running the test either from an IDE or from cmd, I get the folowing error:
2010-06-21 18:57:35,110 WARN [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to add deployment: vfs:///D:/GSoCWorkspace/jboss-as-distribution/jboss-6.0.0.20100429-M3/server/default/deploy/test.war: org.jboss.deployers.spi.DeploymentException: Failed to mount archive: "/D:/GSoCWorkspace/jboss-as-distribution/jboss-6.0.0.20100429-M3/server/default/deploy/test.war"
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.Alpha4]
at org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.mountArchive(AbstractVFSArchiveStructureDeployer.java:132) [:2.2.0.Alpha4]
at org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.determineStructure(AbstractVFSArchiveStructureDeployer.java:55) [:2.2.0.Alpha4]
at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73) [:2.2.0.Alpha4]
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:197) [:2.2.0.Alpha4]
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:222) [:2.2.0.Alpha4]
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77) [:2.2.0.Alpha4]
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1106) [:2.2.0.Alpha4]
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:417) [:2.2.0.Alpha4]
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:367) [:2.2.0.Alpha4]
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:277) [:2.2.0.Alpha4]
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86) [:6.0.0.20100429-M3]
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:385) [:6.0.0.20100429-M3]
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294) [:6.0.0.20100429-M3]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_20]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_20]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_20]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_20]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_20]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) [:1.6.0_20]
at java.util.zip.ZipFile.<init>(ZipFile.java:114) [:1.6.0_20]
I had Arquillian working, it just happend suddently. I tried a fresh new copy of JBoss and new SVN checkouts of Arquillian examples but it does not seem to work. I'm out of ideas ... but it could be just something obvious that I'm missing ... if you guys have any idea about what could be the cause of this, or some pointers on what should be checked to get rid of this problem, I would greatly appreciate it.
Thanks in advance,
Cosmin