[jboss-jira] [JBoss JIRA] Commented: (JBAS-8801) Undeployment leaks root deployment service
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Wed Jan 12 02:43:49 EST 2011
[ https://issues.jboss.org/browse/JBAS-8801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574862#comment-12574862 ]
Thomas Diesler commented on JBAS-8801:
--------------------------------------
After closing the mount, I got
08:30:13,455 ERROR [org.jboss.msc] (pool-1-thread-3) MSC-00001: Failed to start service jboss.deployment.unit.example-simple.jar.CONFIGURE_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit.example-simple.jar.CONFIGURE_MODULE: Failed to process phase CONFIGURE_MODULE of deployment "example-simple.jar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:89)
at org.jboss.msc.service.ServiceInstanceImpl$StartTask.run(ServiceInstanceImpl.java:1163)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: java.lang.IllegalArgumentException: Module spec has already been added for identifier [deployment.example-simple.jar:main]
at org.jboss.as.server.deployment.module.DeploymentModuleLoaderImpl.addModuleSpec(DeploymentModuleLoaderImpl.java:51)
at org.jboss.as.server.deployment.module.ModuleSpecProcessor.deploy(ModuleSpecProcessor.java:132)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:85)
... 4 more
There seems to be a general issue with undeploy not getting invoked on the DUPs
> Undeployment leaks root deployment service
> ------------------------------------------
>
> Key: JBAS-8801
> URL: https://issues.jboss.org/browse/JBAS-8801
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Deployers
> Reporter: Thomas Diesler
> Fix For: 7.0.0.Alpha2
>
>
> To reproduce
> #1 do a hot-deploy
> #2 do a hot-undeploy
> #3 use jconsole to check the installed services. you should see jboss.deployment.yourdeployment
> As a result redeploy fails with
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to mount deployment content
> at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:69)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:85)
> ... 4 more
> Caused by: java.io.IOException: Filsystem already mounted at mount point ""/content/example-simple.jar""
> at org.jboss.vfs.VFS.mount(VFS.java:159)
> at org.jboss.vfs.VFS.doMount(VFS.java:379)
> at org.jboss.vfs.VFS.mountZip(VFS.java:405)
> at org.jboss.as.server.deployment.impl.ServerDeploymentRepositoryImpl.mountDeploymentContent(ServerDeploymentRepositoryImpl.java:78)
> at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:65)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list