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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content