change webport in oracle ebs r12author – a.kishore change webport in oracle ebs r12.2 goal how to...

11
Author – A.Kishore http://www.appsdba.info Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Login to Oracle EBS Access Oracle Application manager

Upload: others

Post on 20-Jan-2021

65 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info

Change Webport in Oracle EBS R12.2

Goal

How to change the Web Port in EBS 12.2?

Solution

Login to Oracle EBS

Access Oracle Application manager

Page 2: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info

Page 3: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info

Update parameters with new port number s_webport s_active_webport

Search for s_active_webport

Make the change of Active web port from 8002 to 8010

Page 4: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info

Page 5: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info Verify from backend grep "active" $CONTEXT_FILE <activewebport oa_var="s_active_webport" oa_type="DUP_PORT" base="8000" step="1" range="-1" label="Active Web Port" customized="yes">8010</activewebport>

Updated the httpd.conf

Update the httpd.conf file from 8002 to 8010

cd

/d01/oracle/PROD/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/config/OHS/EBS

_web_PROD

(In the backend verify – httpd.conf – under below location)

cp httpd.conf httpd.conf_org

[oracle@erpr1226 EBS_web_PROD]$ pwd

/d01/oracle/R1226/fs2/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/config/OHS/EBS

_web_PROD

# OHS Listen Port

Listen 8010 (modify from 8002 to 8010)

Page 6: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info

- Save the changes

Page 7: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info Verify from backend, the current home url

SQL> select home_url from icx_parameters; HOME_URL -------------------------------------------------------------------------------- http://erpr1226.appsdba.info:8002/OA_HTML/AppsLogin

Run Context File Synchronization

$AD_TOP/bin/adSyncContext.pl

perl $AD_TOP/bin/adSyncContext.pl contextfile=$CONTEXT_FILE

[oracle@erp122 scripts]$ perl $AD_TOP/bin/adSyncContext.pl contextfile=$CONTEXT_FILE

Enter the APPS user password:

Enter the WebLogic AdminServer password:

The log file is

/d01/oracle/PROD/fs1/inst/apps/PROD_erp122/logs/appl/rgf/Mon_Aug_4_18_16_12_2014/adSy

ncContext.log

Page 8: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info

Shutdown the services and run autoconfig cd $ADMIN_SCRIPTS_HOME

sh adstpall.sh apps/apps

- Run autoconfig

cd $ADMIN_SCRIPTS_HOME

sh adautocfg.sh

select home_url from icx_parameters;

Page 9: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info

Page 10: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info

Start the application

sh adstrtal.sh apps/apps

- 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

Note – Finally run fs_clone

adop phase=fs_clone - sync patch and file system

Page 11: Change Webport in Oracle EBS R12Author – A.Kishore  Change Webport in Oracle EBS R12.2 Goal How to change the Web Port in EBS 12.2? Solution Author – A.Kishore

Author – A.Kishore http://www.appsdba.info

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

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 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)