Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3875

HTTPSession sharing between wars delivered in an EAR failure in standalone-ha.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.Beta1
    • 9.0.0.Alpha1
    • Clustering
    • None

    Description

      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]

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            fmarchio@redhat.com Francesco Marchioni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: