HttpSessionListener not getting called in standalone HA cluster mode in JBoss EAP 6

Solution Verified - Updated -

Issue

  • HttpSessionListener.sessionCreated() gets called when the web application is running on a single standalone EAP 6 server
  • But is not being called when running 2 standalone servers in HA mode (with Apache2 and mod_proxy load balancing between the 2 servers).
  • Are there some settings that I am missing when running the web application on an HA cluster?

Environment

JBoss Enterprise Application Platform (EAP) 6.0 GA

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.