When a load balancer is deployed in front of Access Manager and a web agent interacts with the load balancer, the following properties must be edited:
com.sun.am.naming.url com.sun.am.policy.am.login.url com.sun.am.load_balancer.enable
This example illustrates property settings in the web agent AMAgent.properties configuration file that can be used to enable load balancing:
com.sun.am.naming.url = LB-url/amserver/namingservice com.sun.am.policy.am.login.url = LB-url/amserver/UI/Login com.sun.am.load_balancer.enable = true
where LB-url represents the load balancer URL. The following example is a conceivable load balancer URL:
http://hostname.example.com:8080