[
https://jira.jboss.org/jira/browse/JBAS-6481?page=com.atlassian.jira.plug...
]
Shelly McGowan updated JBAS-6481:
---------------------------------
Ales, this is the same issue as JBAS-6485. manifest-web.ear was deployed in a previous
test. Upon undeployment, the .war is unregistered:
466120 2009-02-08 11:59:31,423 TRACE
[org.jboss.virtual.plugins.context.zip.ZipFileLockReaper] (RMI TCP
Connection(578)-127.0.0.1) Unregistered: org.jboss.virtual.p
lugins.context.zip.ZipFileWrapper@18902f2 -
/TEST/Branch_5_0/build/output/jboss-5.0.1.GA/server/all/tmp/vfs-nested.tmp/277cf30d_manifest-web.war
Redeploying for this test results in a FileNotFoundException when trying to use the
previously unregistered tmp file:
009-02-08 12:00:34,154 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] (RMI
TCP Connection(604)-127.0.0.1) Error during deploy:
vfszip:/TEST/Branch_5_0/testsuite/output/lib/manifest-web.ear/manifest-web.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/277cf30d_manifest-web.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)
org.jboss.test.web.test.WebIntegrationUnitTestCase
--------------------------------------------------
Key: JBAS-6481
URL:
https://jira.jboss.org/jira/browse/JBAS-6481
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Reporter: Shelly McGowan
Assignee: Ales Justin
Fix For: JBossAS-5.0.1.GA
testWarManifest:
From the server side, the deployment appears successful:
2009-02-06 16:04:20,005 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment]
(RMI TCP Connection(565)-127.0.0.1) Creating ENC using ClassLoader:
BaseClassLoader@48c146{vfszip:/home/smcgowan2/workspace/Branch_5_0/testsuite/output/lib/manifest-web.ear/manifest-web.war}
<snip>
Connection(565)-127.0.0.1) injectionContainer enabled and processing beginning
2009-02-06 16:04:20,019 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] (RMI TCP
Connection(565)-127.0.0.1) Adding header name: X-Powered-By='Servlet 2.5;
JBoss-5.0/JBossWeb-2.1'
2009-02-06 16:04:20,028 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment]
(RMI TCP Connection(565)-127.0.0.1)
Initialized: {WebApplication:
/home/smcgowan2/workspace/Branch_5_0/build/output/jboss-5.0.1.GA/server/all/tmp/ag1b5v-1tao7m-fqvaqzhn-1-fqvci8ju-lmz/manifest-web.war/,
URL:
file:/home/smcgowan2/workspace/Branch_5_0/build/output/jboss-5.0.1.GA/server/all/tmp/ag1b5v-1tao7m-fqvaqzhn-1-fqvci8ju-lmz/manifest-web.war/,
classLoader:
BaseClassLoader@48c146{vfszip:/home/smcgowan2/workspace/Branch_5_0/testsuite/output/lib/manifest-web.ear/manifest-web.war}:4768070}
jboss.web:j2eeType=WebModule,name=//localhost/manifest,J2EEApplication=none,J2EEServer=none
2009-02-06 16:04:20,032 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] (RMI
TCP Connection(565)-127.0.0.1) Fully Deployed
vfszip:/home/smcgowan2/workspace/Branch_5_0/testsuite/output/lib/manifest-web.ear
But an IncompleteDeploymentException is thrown to the Client:
error message="Failed to deploy:
file:/home/smcgowan2/workspace/Branch_5_0/testsuite/output/lib/manifest-web.ear"
type="org.jboss.deployment.DeploymentException">org.jboss.deployment.DeploymentException:
Failed to deploy:
file:/home/smcgowan2/workspace/Branch_5_0/testsuite/output/lib/manifest-web.ear
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:827)
Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** DEPLOYMENTS IN ERROR: Name -> Error
vfszip:/home/smcgowan2/workspace/Branch_5_0/testsuite/output/lib/manifest-web.ear
-> org.jboss.deployers.spi.DeploymentException: Failed to create web module
DEPLOYMENTS IN ERROR:
Deployment
"vfszip:/home/smcgowan2/workspace/Branch_5_0/testsuite/output/lib/manifest-web.ear"
is in error due to the following reason(s): java.io.FileNotFoundException:
/home/smcgowan2/workspace/Branch_5_0/build/output/jboss-5.0.1.GA/server/all/tmp/vfs-nested.tmp/9fa355d7_manifest-web.war
(No such file or directory)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:755)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:744)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:822)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira