Kishore
http://www.appsdba.info
Goal
Solution
s_webport
s_active_webport
cd
/d01/oracle/PROD/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/config/OHS/EBS
_web_PROD
cp httpd.conf httpd.conf_org
/d01/oracle/R1226/fs2/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/config/OHS/EBS
_web_PROD
HOME_URL
--------------------------------------------------------------------------------
http://erpr1226.appsdba.info:8002/OA_HTML/AppsLogin
$AD_TOP/bin/adSyncContext.pl
sh adstpall.sh apps/apps
- Run autoconfig
cd $ADMIN_SCRIPTS_HOME
sh adautocfg.sh
sh adstrtal.sh apps/apps
- Also, context file should not have any references to old Listen port value
References:
At the time this document was written the correct functionality is delivered by
$JAVA_TOP/oracle/apps/ad/context/UpdateContext.class
$AD_TOP/java/oracle/apps/ad/context/UpdateContext.class
then you need to manually check and update the derived context variables left unchanged in
$CONTEXT_FILE
For instance , if old port was 8000 and new port is 8010 then :
grep 8030 $CONTEXT_FILE
<chronosURL
oa_var="s_chronosURL">http://<hostname>.<domainname>:8000/oracle_smp_chronos/oracle_s
mp_chronos_sdk.gif</chronosURL>
<EndUserMonitoringURL
oa_var="s_endUserMonitoringURL">http://<hostname>.<domainname>:8000/oracle_smp_chron
os/oracle_smp_chronos_sdk.gif</EndUserMonitoringURL>
<externURL
oa_var="s_external_url">http://<hostname>.<domainname>:8000</externURL>
<login_page
oa_var="s_login_page">http://<hostname>.<domainname>:8000/OA_HTML/AppsLogin</login_p
age>
<web_port oa_var="s_webport" oa_type="PORT" base="8000" step="1" range="-1"
label="Web Listener Port">8010</web_port>
< activewebport oa_var="s_active_webport" oa_type="DUP_PORT" base="8000" step="1"
range="-1" label="Active Web Port">8010</activewebport>
so you need to update s_chronosURL , s_endUserMonitoringURL , s_external_url and
s_login_page with new port number 8010
References:
http://yesh-chronicle.blogspot.com/2014/03/122-how-to-change-web-port-in-e.html
12.2 - How To Change The Web Port in E-Business Suite R12.2? (Doc ID
1567661.1)