File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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

127.0.0.1:7080 -domain 2
127.0.0.1:8080 - 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

Thanks
Alan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Load Balancing Spring security