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

    • Affects:
      Release Notes
    • Workaround:
      Workaround Exists
    • Workaround Description:
      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.
    • Release Notes Text:
      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.
    • Release Notes Docs Status:
      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jfclere Jean-Frederic Clere
                  Reporter:
                  sjmenden Samuel Mendenhall
                  Writer:
                  Misty Stanley-Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: