I have launched a ELB but not able to login to the application. Everytime I try to login to the application i keep stuck in a loop. There's no error message. Application on both these instances are fine when accessed with IP address/path.

I removed one instance from load balancer and tried. Now application is accessible by using ELB after adding another instance it goes to login page but cannot login.

I saw something similar here: http://stackoverflow.com/questions/6...c-load-balance But I am already using the following settings that were suggested: ELB forward 80->80 and 443->443. Setup tomcat to use 80 and 443. Setup port mappings to use 80 and 443 on Spring Security

I also tried to use "IS_AUTHENTICATED_ANONYMOUSLY" as described here http://static.springsource.org/sprin...faq-login-loop
but nothing seems to work

Is there anything am i missing here?