Further debugging, I found the issue is related to JAAS authentication at the application level.
On failover the user principal is reset to null on second node hence, I can;t access the secured resources.
My expectation is as I logged into application on node1 (user principal is set correctly)... the same principal should be replicated on node2.
Any pointers would be highly appreciated.
Thansk,
Suresh
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232501#4232501
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232501
Hi,
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!!
thanks,
suresh
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232498#4232498
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232498