If you have Access Manager instances deployed behind a load balancer, login to the Access Manager Console may be redirected to one of the Access Manager instances rather than to the load balancer. The URL in the browser also changes to the Access Manager instance. For example, this problem can occur if you login into the Console using this URL:
http://loadbalancer.example.com/amserver/realm
This redirection can occur in both Realm mode and Legacy mode deployments.
There are two workarounds for this issue. You can use either one:
Login with either of the following URLs:
http://loadbalancer/amserver/UI/Login
http://loadbalancer/amserver
In AMConfig.properties, set the com.sun.identity.loginurl property to the name of the loadbalancer. This needs to be done on each Access Manager Instance behind the load balancer.