mod_cluster is not maintaining sticky sessions

Solution Verified - Updated -

Issue

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

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.x
  • JBoss Enterprise Web Server (EWS)
    • Apache httpd
    • mod_cluster
      • 1.0.10.GA_CPx
      • 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.