[
https://jira.jboss.org/browse/JBAS-8351?page=com.atlassian.jira.plugin.sy...
]
Brian Stansberry resolved JBAS-8351.
------------------------------------
Resolution: Duplicate Issue
Duplicates JBAS-8328.
Deploying to farm directory fails with DeploymentException
----------------------------------------------------------
Key: JBAS-8351
URL:
https://jira.jboss.org/browse/JBAS-8351
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Clustering
Affects Versions: 6.0.0.M4
Reporter: Martin Gencur
Assignee: Brian Stansberry
I tried to deploy first Weld Numberguess application and then Seam 2.2 Booking
application, both ended with the same exception. I didn't have anything left in
server/{all,all2}/tmp directories. It was fresh installation of JBossAS 6 M4
(jboss-6.0.0.20100721-M4).
1) Weld - Numberguess -> compilation: ${WELD_CORE}/examples/jsf/numberguess : mvn -U
clean package -Pjboss6cluster
2) Seam - Booking -> compilation: ${SEAM_HOME}/examples/booking: ant farm-archive
-Dsession.replication=true -Ddistributable=true
Both application used to run with JBoss 6 Mx.
StackTrace:
15:32:05,083 WARN [org.jboss.profileservice.deployment.hotdeploy.HDScanner] Failed to
add deployment:
vfs:///home/mgencur/Java/jboss-6.0.x/jboss-6.0.0.20100721-M4/server/all/farm/jboss-seam-booking.ear:
org.jboss.deployers.spi.DeploymentException: Failed to mount archive:
"/profileservice/originals/farm/71f21b50jboss-seam-booking.ear"
at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
[:2.2.0.Alpha6]
at
org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.mountArchive(AbstractVFSArchiveStructureDeployer.java:132)
[:2.2.0.Alpha6]
at
org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.determineStructure(AbstractVFSArchiveStructureDeployer.java:55)
[:2.2.0.Alpha6]
at
org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
[:2.2.0.Alpha6]
at
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:197)
[:2.2.0.Alpha6]
at
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:222)
[:2.2.0.Alpha6]
at
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
[:2.2.0.Alpha6]
at
org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1106)
[:2.2.0.Alpha6]
at
org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:417)
[:2.2.0.Alpha6]
at
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:367)
[:2.2.0.Alpha6]
at
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:277)
[:2.2.0.Alpha6]
at
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.addDeployment(MainDeployerPlugin.java:77)
[:6.0.0.20100721-M4]
at
org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.addDeployment(ProfileControllerContext.java:120)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:221)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:59)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:94)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150)
[:0.1.0.Alpha1]
at
org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135)
[:0.1.0.Alpha1]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146)
[:0.1.0.Alpha1]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90)
[:0.1.0.Alpha1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_16]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
[:1.6.0_16]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_16]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
[:1.6.0_16]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
[:1.6.0_16]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
[:1.6.0_16]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_16]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_16]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_16]
Caused by: java.io.IOException: Filsystem already mounted at mount point
""/profileservice/originals/farm/71f21b50jboss-seam-booking.ear""
at org.jboss.vfs.VFS.mount(VFS.java:159) [jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.VFS.doMount(VFS.java:379) [jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.VFS.mountZip(VFS.java:433) [jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.VFS.mountZip(VFS.java:459) [jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.util.automount.Automounter$RegistryEntry.mount(Automounter.java:237)
[jboss-vfs.jar:3.0.0.CR5]
at
org.jboss.vfs.util.automount.Automounter$RegistryEntry.access$000(Automounter.java:208)
[jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.util.automount.Automounter.mount(Automounter.java:117)
[jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.util.automount.Automounter.mount(Automounter.java:77)
[jboss-vfs.jar:3.0.0.CR5]
at
org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.performMount(AbstractVFSArchiveStructureDeployer.java:145)
[:2.2.0.Alpha6]
at
org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.mountArchive(AbstractVFSArchiveStructureDeployer.java:128)
[:2.2.0.Alpha6]
... 32 more
15:32:05,113 WARN [org.jboss.vfs] A VFS mount
("/profileservice/originals/farm/71f21b50jboss-seam-booking.ear") was leaked!:
Allocation stack trace:
at java.lang.Thread.getStackTrace(Thread.java:1436) [:1.6.0_16]
at org.jboss.vfs.VFS$Mount.<init>(VFS.java:653) [jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.VFS.mount(VFS.java:146) [jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.VFS.doMount(VFS.java:379) [jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.VFS.mountZip(VFS.java:433) [jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.VFS.mountZip(VFS.java:459) [jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.util.automount.Automounter$RegistryEntry.mount(Automounter.java:237)
[jboss-vfs.jar:3.0.0.CR5]
at
org.jboss.vfs.util.automount.Automounter$RegistryEntry.access$000(Automounter.java:208)
[jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.util.automount.Automounter.mount(Automounter.java:117)
[jboss-vfs.jar:3.0.0.CR5]
at org.jboss.vfs.util.automount.Automounter.mount(Automounter.java:77)
[jboss-vfs.jar:3.0.0.CR5]
at
org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.performMount(AbstractVFSArchiveStructureDeployer.java:145)
at
org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.mountArchive(AbstractVFSArchiveStructureDeployer.java:128)
at
org.jboss.deployers.vfs.plugins.structure.AbstractVFSArchiveStructureDeployer.determineStructure(AbstractVFSArchiveStructureDeployer.java:55)
at
org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
at
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:197)
at
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:222)
at
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1106)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:417)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:367)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:277)
at
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.addDeployment(MainDeployerPlugin.java:77)
at
org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.addDeployment(ProfileControllerContext.java:120)
at
org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:221)
at
org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192)
at
org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:59)
at
org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74)
at
org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:94)
at
org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87)
at
org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234)
at
org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213)
at
org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150)
at
org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135)
at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146)
at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_16]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
[:1.6.0_16]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_16]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
[:1.6.0_16]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
[:1.6.0_16]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
[:1.6.0_16]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_16]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_16]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_16]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira