-
1. Re: Update WAR File in EAR using WildFly
ctomc Oct 12, 2016 3:41 PM (in response to simranjeetsingh1786)1 of 1 people found this helpfullook into deployment overlays
-
2. Re: Update WAR File in EAR using WildFly
simranjeetsingh1786 Oct 28, 2016 1:36 PM (in response to ctomc)Hi Tomaz,
i checked the deployment overlays, but i am getting en error when i try to update the sub-deployment.
deployment-overlay add --name=my_war--content=my_war.war=<path>\my_war.war --deployments=my_ear.ear --redeploy-affected
WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-4" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.
my_ear.ear\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"my_ear.ear\".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE o
deployment \"my_ear.ear\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0054: Failed to process children for EAR [\"/D:/wildfly-10.0.0.Final/bin/content/
a.ear\"]
Caused by: java.io.IOException: VFS000017: Filesystem already mounted at mount point \"\"/D:/wildfly-10.0.0.Final/bin/content/my_ear.ear/my_war.war\"\""}}}}
I dont know what is causing this exception.
Could you please help me out ?
-
3. Re: Update WAR File in EAR using WildFly
fdlprod Nov 30, 2016 10:54 AM (in response to simranjeetsingh1786)i have exactly the same problem.. have an EAR with multiple wars, then with command overlay :
deployment-overlay add --name=myOverlay5 --content=AofPortal.war=AofPortal.war --deployments=Application.ear --redeploy-affected
have the following error :
Caused by: java.io.IOException: VFS000017: Filesystem already mounted at mount point