mod_cluster does not maintain sticky sessions when proxying one context on httpd to another on JBoss

Solution Verified - Updated -

Issue

  • When we configure mod_cluster to proxy pass one root context on httpd to another on JBoss, sticky sessions are not maintained. Our config is something like:
    ProxyPass        /foo balancer://mycluster/bar   stickysession=JSESSIONID|jsessionid nofailover=On
    ProxyPassReverse /foo balancer://mycluster/bar
    ProxyPassReverseCookiePath  /bar   /foo

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.x
  • mod_cluster
    • 1.0.10.GA_CP0x
    • 1.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.