File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Glassfish and the fly likes Load Balancing  Spring security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Glassfish
Bookmark "Load Balancing  Spring security" Watch "Load Balancing  Spring security" New topic

Load Balancing Spring security

Ally Cavs
Ranch Hand

Joined: Aug 25, 2008
Posts: 89
hey Guys

I have attempted to use both apache server and ha proxy to load balance an web application on 2 glassfish domains -domain 2 - domain 2

But no matter what configuration I use my browser gets Error code: ERR_TOO_MANY_REDIRECTS
Seems Spring security uses relative URls vs absolute URLs so I think this is the problem.
has anyone seen this issue before?

Ive read various websites about load balancing and spring security. It seems to be a known issue with no real fix?

To me there should be just so some config that i can add to load balancer to get this to work

I agree. Here's the link:
subject: Load Balancing Spring security
It's not a secret anymore!