Step to follow to re-configure Oracle Apps to use Load Balancer
1. Update following six values in Context File ($CONTEXT_FILE) (Context file is at INST_TOP/appl/admin) of application tier. To know more about INST_TOP and CONTEXT_FILE click here and here
a) s_webentryhost - To load balancer URL i.e. mylbr (Do not enter full name with domain)
b) s_active_webport -to load balancer port i.e. 80 (For SSL use 443)
c) s_login_page - Full URL pointing to Load Balancer http://loadbalancer.domain:port/OA_HTML/AppsLogin i.e. http://mylbr.lbrdomain.com:80/OA_HTML/AppsLogin (For SSL use https and port as 443)
d) s_external_url - Load Balancer URL http://loadbalancer.domain:port i.e. http://mylbr.lbrdomain.com:80 (For SSL use https and port as 443)
e) s_webentryurlprotocol - http (Change to https if using SSL)
f) s_webentrydomain - Load Balancer Domain i.e. lbrdomain.com
2. Run Autoconfig on application tier
3. Repeat step 1 & 2 on all nodes running Web Server. (To check which servers are running as Web Nodes, login to database as user apps and run query “select node_name from fnd_nodes where SUPPORT_WEB=’Y';”)
4. Test load balancer configuration by accessing load balancer URL i.e. http://mylbr.lbrdomain.com
5. If you get page not found error then check if request is coming from load balancer to Web Server access logs at $LOG_HOME/ora/10.1.3/ access_log.NNNNNNNN (sort access log based on time stamp “ls -ltr access_log*”)