R12.2 Apps DBA. Powered by Blogger.

How To Change The Web Port in E-Business Suite R12.2 (Doc ID 1567661.1)

No comments :
Solution
The high level process is :
  - Launch EM Console
http://<s_wls_admin_host>.<s_wls_admin_domain>:<s_wls_adminport>/em)
- Login as weblogic admin user (s_wls_admin_user)
- Select the webtier instance from the Web Tier drop down
- Select the Oracle HTTP server component and Advanced Configuration
- Choose httpd.conf for example
- Modify the Listen port value
- Save the changes
- Run Context File Synchronization $AD_TOP/bin/adSyncContext.pl :
perl $AD_TOP/bin/adSyncContext.pl contextfile=$CONTEXT_FILE
- Manually update the $CONTEXT_FILE if old port values are still present
- Run autoconfig
- Check the value for s_login_page in the context file
- Also, context file should not have any references to old Listen port value
- Login to EBS and do some sanity testing
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
versions 120.5.12020000.2 or higher delivered by Patch 16324606:R12.TXK.C which is included in 12.2.2
If you are on a lower version , such as
$Header UpdateContext.java 120.5 2011/06/03 20:26:17 jaedo ship $
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 8000 $CONTEXT_FILE
         <chronosURL oa_var="s_chronosURL">http://<hostname>.<domainname>:8000/oracle_smp_chronos/oracle_smp_chronos_sdk.gif</chronosURL>
         <EndUserMonitoringURL oa_var="s_endUserMonitoringURL">http://<hostname>.<domainname>:8000/oracle_smp_chronos/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_page>
      <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

No comments :

Post a Comment

Note: only a member of this blog may post a comment.