Undeploying and deploying the same WAR in short time fails.
-----------------------------------------------------------
Key: JBAS-6640
URL:
https://jira.jboss.org/jira/browse/JBAS-6640
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployers
Affects Versions: JBossAS-5.1.0.CR1
Environment: AS version: 5.1.0.CR1 (build: SVNTag=JBoss_5_1_0_CR1
date=200903190511)
Reporter: Ondrej Žižka
Assignee: Ales Justin
Undeploying and deploying the same WAR in short time fails with a message:
----------------------------------------------------------------------------------------------------------------
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 MISSING DEPLOYERS: Name
vfszip:/home/brq/ozizka/JoprEmbedded/jboss-as-5.x/build/output/jboss-5.1.0.CR1/server/default/deploy/jbas5-admin-console.war/
DEPLOYMENTS IN ERROR:
Deployment
"vfszip:/home/brq/ozizka/JoprEmbedded/jboss-as-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:/home/brq/ozizka/JoprEmbedded/jboss-as-5.x/build/output/jboss-5.1.0.CR1/server/default/tmp/ayw6m-gfnbbm-fsgkx4z8-1-fsguzifz-fnl/hellothere.war/
deployment failed
-> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** DEPLOYMENTS MISSING DEPLOYERS: Name
vfszip:/home/brq/ozizka/JoprEmbedded/jboss-as-5.x/build/output/jboss-5.1.0.CR1/server/default/deploy/jbas5-admin-console.war/
DEPLOYMENTS IN ERROR:
Deployment
"vfszip:/home/brq/ozizka/JoprEmbedded/jboss-as-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:/home/brq/ozizka/JoprEmbedded/jboss-as-5.x/build/output/jboss-5.1.0.CR1/server/default/tmp/ayw6m-gfnbbm-fsgkx4z8-1-fsguzifz-fnl/hellothere.war/
deployment failed
----------------------------------------------------------------------------------------------------------------
Server log contains this exception:
----------------------------------------------------------------------------------------------------------------
java.lang.IllegalArgumentException: Document base
/home/ondra/work/JOPRembedded/embjopr-svn-trunk/jsfunit/target/jboss5x/tmp/3j011-ix4qw3-fshw77sa-1-fshw84bm-lj/hellothere.war
does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:148)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4021)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4188)
... (full stack trace attached.)
----------------------------------------------------------------------------------------------------------------
When tried again after a while, the WAR deploys successfully.
--
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