XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.1.GA
    • None
    • None
    • None

      These tests are failing due to the redeployment of the invoker-adaptor-test.ear. invoker-adaptor-test.ear is used for the JMXConnectorUnitTestCase. When the .ear is undeployed, references to the temp files are removed:

      2009-02-08 11:41:16,860 TRACE [org.jboss.virtual.plugins.context.zip.ZipFileLockReaper] (ZipFile Lock Reaper) Unregistered: org.jboss.virtual.plugins.context.zip.ZipFileWrapper@6bc840 - /TEST/Branch_5_0/build/output/jboss-5.0.1.GA/server/all/tmp/vfs-nested.tmp/46a19cbb_dummy.war

      2009-02-08 11:41:16,860 TRACE [org.jboss.virtual.plugins.context.zip.ZipFileLockReaper] (ZipFile Lock Reaper) Asynchronously closed an unused ZipFile: org.jboss.virtual.plugins.context.zip.ZipFileWrapper@6bc840 - /TEST/Branch_5_0/build/output/jboss-5.0.1.GA/server/all/tmp/vfs-nested.tmp/46a19cbb_dummy.war

      The .ear is redeployed for the JMXInvokerUnitTestCases but the deployment fails as it looks for the tmp files used in the previous deployment:

      2009-02-08 11:41:28,197 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] (RMI TCP Connection(360)-127.0.0.1) Error during deploy: vfszip:/TEST/Branch_5_0/testsuite/output/lib/invoker-adaptor-test.ear/dummy.war
      org.jboss.deployers.spi.DeploymentException: Failed to create web module
      at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:454)
      at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:89)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

      Caused by: java.io.FileNotFoundException: /TEST/Branch_5_0/build/output/jboss-5.0.1.GA/server/all/tmp/vfs-nested.tmp/46a19cbb_dummy.war (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.getRootAsStream(ZipFileWrapper.java:235)
      at org.jboss.virtual.plugins.context.zip.ZipEntryContext.openStream(ZipEntryContext.java:1030)
      at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.openStream(ZipEntryHandler.java:155)
      at org.jboss.virtual.plugins.context.DelegatingHandler.openStream(DelegatingHandler.java:206)
      at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.unjar(AbstractCopyMechanism.java:321)
      at org.jboss.virtual.plugins.copy.UnjarCopyMechanism.doCopy(UnjarCopyMechanism.java:52)
      at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:180)
      at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:136)
      at org.jboss.virtual.VFSUtils.copy(VFSUtils.java:860)
      at org.jboss.virtual.VFSUtils.unjar(VFSUtils.java:841)
      at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:357)

              ajustin@redhat.com Ales Justin
              smcgowan@redhat.com Shelly McGowan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: