Cannot redeploy webapp after deploy failure
-------------------------------------------
Key: JBAS-4807
URL:
http://jira.jboss.com/jira/browse/JBAS-4807
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployment services
Reporter: Thomas Diesler
Assigned To: Dimitris Andreadis
Fix For: JBossAS-5.0.0.Beta3
If a webapp cannot be deployed due to some deployment problem, this webapp is not taken
down properly.
A subsequent deployment of the webapp fails
14:55:03,570 ERROR [AbstractKernelController] Error installing to Real:
name=vfsfile:/home/tdiesler/svn/jbossws/stack/native/trunk/output/tests/libs/jaxws-jbws1807.war
state=PostClassLoader mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy:
vfsfile:/home/tdiesler/svn/jbossws/stack/native/trunk/output/tests/libs/jaxws-jbws1807.war
at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:175)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:728)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:669)
Caused by: org.jboss.ws.WSException: Cannot find port in wsdl:
{http://ws.com/}ProviderPort
at
org.jboss.ws.metadata.builder.MetaDataBuilder.replaceAddressLocation(MetaDataBuilder.java:338)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSProviderMetaDataBuilder.buildProviderMetaData(JAXWSProviderMetaDataBuilder.java:147)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:55)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63)
at
org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66)
at
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
at
org.jboss.wsf.container.jboss50.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:94)
at
org.jboss.wsf.container.jboss50.AbstractWebServiceDeployer.deploy(AbstractWebServiceDeployer.java:63)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
14:55:03,744 WARN [MainDeployer] undeploy
'file:/home/tdiesler/svn/jbossws/stack/native/trunk/output/tests/libs/jaxws-jbws1807.war'
: package not deployed
14:55:03,770 WARN [MainDeployer] undeploy
'file:/home/tdiesler/svn/jbossws/stack/native/trunk/output/tests/libs/jaxws-jbws1807.war'
: package not deployed
14:55:10,884 INFO [MainDeployer] deploy,
url=file:/home/tdiesler/svn/jbossws/stack/native/trunk/output/tests/libs/jaxws-jbws1807.war
*** DEPLOYMENTS IN ERROR: Name -> Error
vfsfile:/home/tdiesler/svn/jbossws/stack/native/trunk/output/tests/libs/jaxws-jbws1807.war
-> java.lang.IllegalStateException:
vfsfile:/home/tdiesler/svn/jbossws/stack/native/trunk/output/tests/libs/jaxws-jbws1807.war
is already installed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira