mod_cluster is not maintaining sticky sessions

Solution Verified - Updated -

Issue

  • Sticky sessions are not working with mod_cluster
  • We've configured 2 Red Hat JBoss EAP' 5.2.0s in two different servers. We are using mod-cluster for load balancing. Now it is observed that the web server is directing the request to both EAPs and session stickiness is getting lost.
  • Retrieving something from the HTTP session results in a NullPointerException.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.x
    • 7.x
  • Red Hat Enterprise Web Server (EWS)
    • 2.x
  • Red Hat JBoss Web Server (JWS)
    • 3.0.x
  • Red Hat JBoss Core Services (JBCS)
    • 2.4.x
  • Apache HTTPD
  • mod_cluster

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