Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5237

MODCLUSTER-188 - mod_cluster failover does not work for a /webappcontext when the / root context exists

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.1
    • EAP_EWP 5.1.0
    • mod_cluster
    • None
    • Release Notes
    • Workaround Exists
    • Hide

      Either
      A) don't deploy a / or smaller path
      B) Use ProxyPass/ProxyPassReverse in Apache to map / to a difference context in JBoss/mod_cluster but don't actually use / in JBoss.

      Show
      Either A) don't deploy a / or smaller path B) Use ProxyPass/ProxyPassReverse in Apache to map / to a difference context in JBoss/mod_cluster but don't actually use / in JBoss.
    • Hide
      A server configured for failover with an application deployed in a subdirectory such as <code>/webapp</code>, and another application deployed in <code>/</code>, occasionally caused an error. This was because the failed-over application tried to deploy in <code>/</code> instead of <code>/webapp</code>. This situation has been fixed, and failover now occurs as expected.
      Show
      A server configured for failover with an application deployed in a subdirectory such as <code>/webapp</code>, and another application deployed in <code>/</code>, occasionally caused an error. This was because the failed-over application tried to deploy in <code>/</code> instead of <code>/webapp</code>. This situation has been fixed, and failover now occurs as expected.
    • Documented as Resolved Issue

    Description

      Let's say for example that /webapp and / is mapped in mod_cluster and there are two JBoss instances. If in one JBoss instance you undeploy the /webapp, you would expect mod_cluster to failover to the other JBoss instance.

      However, this is not the case, mod_cluster will instead select the lesser context, the root context / and service the request from /webapp on the / context.

      The logic only tests for ENABLE and DISABLE the STOP is not tested.

      The failover of a context will only work currently if / or any smaller path is not deployed

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jclere Jean-Frederic Clere
              sjmenden_jira Samuel Mendenhall (Inactive)
              Misty Stanley-Jones Misty Stanley-Jones (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: