Hi There,
I am using Spring security 2.04 more than 1 year not issues. but I encountered one issue after recently upgrade single application server to 2 app servers with load balance.
Issue description:
if the login request via LB's vip, then the default target URL is note 1 or note 2 rather than LB.
For example: request from http://LB/login.jsp--> suppose URL is http://LB/index.jsp after login
but now it is either http://note1:8080/index.jsp or http://note2:8080/index.jsp
My configration of spring security xml:
<form-login login-page="/login.jsp" default-target-url="/index.jsp" authentication-failure-url="/login.jsp?error=true" />
Load balance is centOS 5x +apache 2x
note1¬e2 servers are centOS 5.x +tomcat 6x
PS:if use absolute path in the spring security xml, it works. but I don't want to fix path.
Thank you in advance!!![]()



Reply With Quote


