APPLIES TO:
Oracle E-Business Suite Technology Stack - Version 12.2 to 12.2.5 [Release 12.2]
Information in this document applies to any platform.
GOAL
Provide a detailed set of steps to change the E-Business Suite R12.2 default port to 80.
SOLUTION
Test the following steps in a development instance to confirm the desired behavior and then migrate accordingly:
1. Launch EM Console http://<s_wls_admin_host>.<s_wls_admin_domain>:<s_wls_adminport>/em)
2. Login as weblogic admin user (s_wls_admin_user)
3. Select the webtier instance from the Web Tier drop down
4. Select the Oracle HTTP server component and Advanced Configuration
- Choose httpd.conf
- Modify the Listen port value
# OHS Listen Port
Listen 80
5. Click apply
6. Execute the following commands as the root user on both the run file system and the patch file system.
$ chown root <FMW_HOME>/webtier/ohs/bin/.apachectl
$ chmod 6750 <FMW_HOME>/webtier/ohs/bin/.apachectl
7. Edit httpd.conf as applmgr user on both the run file system and the patch file system
Open $FMW_Home/webtier/instances/EBS_web_<instance_name>_OHS1/config/OHS/EBS_web_<instance_name>/httpd.conf
and search for tag #Group GROUP_TEMPLATE
From:
#Group GROUP_TEMPLATE
To:
Group %s_appsgroup%
Note:before change,you should confirm the value fo s_appsgroup by the following command and replace %s_appsgroup% to the value in httpd.conf
cat $CONTEXT_FILE |grep s_appsgroup
eg:
cat $CONTEXT_FILE |grep s_appsgroup
<appsgroup oa_var="s_appsgroup" osd="unix">dba</appsgroup>
Before change
#Group GROUP_TEMPLATE
After change
Group dba
8. Restart HTTP services by executing the following command on the run file system:
$ sh <ADMIN_SCRIPTS_HOME>/adapcctl.sh stop
$ sh <ADMIN_SCRIPTS_HOME>/adapcctl.sh start
9. Run the following command on all application tier nodes:
perl $AD_TOP/bin/adSyncContext.pl contextfile=$CONTEXT_FILE
10. Stop AP Tier
$ sh <ADMIN_SCRIPTS_HOME>/adstpall.sh apps/<pwd>
11. Run AutoConfig on all application tier nodes.
$ sh <ADMIN_SCRIPTS_HOME>/adautocfg.sh
12. Check the value for s_login_page in the context file
cat $CONTEXT_FILE |grep s_login_page
13. Start AP Tier
$ sh <ADMIN_SCRIPTS_HOME>/adstrtal.sh apps/<pwd>
14. Log into EBS to test
Note:
when the environment changed to be port 80,It can not be used as source environment to do clone
as port80 was reserved by OS and clone could not continue.