]
Francesco Marchioni edited comment on WFLY-3875 at 9/22/14 2:52 AM:
--------------------------------------------------------------------
Attaching EAR file to reproduce the issue.
was (Author: f_marchioni):
Attaching EAR file too reproduce the issue.
HTTPSession sharing between wars delivered in an EAR failure in
standalone-ha.xml
---------------------------------------------------------------------------------
Key: WFLY-3875
URL:
https://issues.jboss.org/browse/WFLY-3875
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 9.0.0.Alpha1
Environment: Tested on Windows AMD64 JDK 1.7.0_51
Reporter: Francesco Marchioni
Assignee: Paul Ferraro
Attachments: ear1.ear
Deploying two Web applications within an EAR achive with the following jboss-all.xml,
leads to a failure in deployment when using standalone-ha.xml configuration:
<jboss umlns="urn:jboss:1.0">
<shared-session-config xmlns="urn:jboss:shared-session-config:1.0">
<session-config>
<cookie-config>
<path>/</path>
</cookie-config>
</session-config>
</shared-session-config>
</jboss>
Exception raised:
15:58:52,160 ERROR [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed -
address: ([("deployment" => "ear1.ear")]) - failure description:
{"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.undertow.deployment.default-server.default-host./webapp1.codec.locator is
missing [jboss.clustering.web.locator.\"ear1.ear.webapp1.war\"]",
"jboss.undertow.deployment.default-server.default-host./webapp2.codec.locator is
missing [jboss.clustering.web.locator.\"ear1.ear.webapp2.war\"]"
]}
15:58:52,227 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010:
Deployed "ear1.ear" (runtime-name : "ear1.ear")
15:58:52,230 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183:
Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.clustering.web.locator."ear1.ear.webapp1.war" (missing)
dependents: [service
jboss.undertow.deployment.default-server.default-host./webapp1.codec.locator]
service jboss.clustering.web.locator."ear1.ear.webapp2.war" (missing)
dependents: [service jboss.undertow.deployment.default-server.default-host./webapp2.
codec.locator]