4 Replies Latest reply on Jun 2, 2009 6:34 PM by Brian Stansberry

    Jboss clustering + JAAS principal issues on  failover

    Suresh Reddy Newbie


      I have a webapplication with JAAS authentication (form based + DB realm).
      The application works fine on stand-alone deployment.

      I clustered the solution:
      2 nodes of JBoss 4.2.3
      Apache + mod_jk as frontend loadbalancer (with sticky session enabled)

      When I try failover the http session data is replicated on second node properly but, the userprincipal is reset to "null". This leads to taking me to login page on accessing secured resource... my expectation is, as I logged in to application thru node1 I should be able to continue accessing the secured resources.

      Any pointers!!