[jboss-jira] [JBoss JIRA] Commented: (JBAS-6715) java.lang.RuntimeException thrown adding resource that was previously Deleted
Emanuel Muckenhuber (JIRA)
jira-events at lists.jboss.org
Thu Apr 9 11:47:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12461510#action_12461510 ]
Emanuel Muckenhuber commented on JBAS-6715:
-------------------------------------------
I've udpated the DeploymentManagerUnitTestCase and now it seems to fail more reliable - when i run the testDistributeOverride it throws the following exception:
org.jboss.deployers.spi.DeploymentException: Failed to create web module
at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:450)
at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:85)
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)
...
Caused by: java.io.FileNotFoundException: /home/emuckenh/svn/as/branch/5_x/build/output/jboss-5.1.0.CR1/server/profileservice/tmp/vfs-nested.tmp/9095a017_testWarDeployment.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:1043)
at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.openStream(ZipEntryHandler.java:153)
at org.jboss.virtual.plugins.context.DelegatingHandler.openStream(DelegatingHandler.java:197)
at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.unjar(AbstractCopyMechanism.java:317)
at org.jboss.virtual.plugins.copy.UnjarCopyMechanism.doCopy(UnjarCopyMechanism.java:52)
at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:176)
at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:135)
at org.jboss.virtual.VFSUtils.copy(VFSUtils.java:871)
at org.jboss.virtual.VFSUtils.unjar(VFSUtils.java:852)
at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:353)
... 25 more
> java.lang.RuntimeException thrown adding resource that was previously Deleted
> -----------------------------------------------------------------------------
>
> Key: JBAS-6715
> URL: https://jira.jboss.org/jira/browse/JBAS-6715
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Deployers
> Reporter: Shelly McGowan
> Assignee: Ales Justin
> Priority: Critical
> Fix For: JBossAS-5.1.0.CR1
>
> Attachments: servlets-examples.war
>
>
> Navigation:
> Applications ==> Web Applications
> Add new Resource
> Browse to Resource
> CONTINUE
> When war archive status is 'UP', Delete .war from applications list
> Confirmation: Successfully deleted Web Application (WAR) 'hellothere.war'.
> Server side shows war was undeployed.
> Follow the same navigation steps, but this time upon Adding Resource, the following is displayed to client (and server.log):
> Failed to create Resource hellothere.war - cause: java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/deploy/hellothere.war/ -> org.jboss.deployers.spi.DeploymentException: URL file:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/3j001-aeo7z0-fsjbdjc2-1-fsjbg47o-ec/hellothere.war/ deployment failed DEPLOYMENTS IN ERROR: Deployment "vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/deploy/hellothere.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/3j001-aeo7z0-fsjbdjc2-1-fsjbg47o-ec/hellothere.war/ deployment failed -> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/deploy/hellothere.war/ -> org.jboss.deployers.spi.DeploymentException: URL file:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/3j001-aeo7z0-fsjbdjc2-1-fsjbg47o-ec/hellothere.war/ deployment failed DEPLOYMENTS IN ERROR: Deployment "vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/deploy/hellothere.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/3j001-aeo7z0-fsjbdjc2-1-fsjbg47o-ec/hellothere.war/ deployment failed
> Reproducing this issue is blocked due to EMBJOPR-115. Assigning to myself for tracking.
--
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
More information about the jboss-jira
mailing list