• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Techgoeasy

Techgoeasy

Learn Oracle, PHP, HTML,CSS,Perl,UNIX shell scripts

  • Home
  • Oracle
    • Oracle database
    • Oracle Ebusiness Suite
    • Oracle weblogic
    • Oracle Performance Tuning
    • Oracle Hyperion
    • Oracle Cloud Tutorials
  • SQL
  • interview questions
  • Linux
  • PHP and HTML
  • Downloads
  • General
Home » Oracle » How to change the Web Port in EBS 12.2

How to change the Web Port in EBS 12.2

February 12, 2017 by techgoeasy Leave a Comment

As we all  know,httpd.conf configuration is managed by FMW  in R12.2, the method to change the webport is quite different in R12.2

Here are the steps to change Web Port in EBS 12.2
– 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

Here are the steps to change Web Port in EBS 12.2 to default port 80

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

Related Articles

Enabling TLS in Oracle Apps R12.2

40 question you must know about R12.2

Important Changes in Autoconfig R12.2

Service Group changes in R12.2

Login flow in R12.2 and basic troubleshooting

Filed Under: Oracle, Oracle Ebuisness Suite

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar



Subscribe to our mailing list

Enter your email address to subscribe to this blog and receive notifications of new posts by email

Recent Posts

  • How to check Stale statistics
  • Java web start(JWS) in R12
  • How to delete the archive logs in Oracle
  • How to generate sql monitor report in Oracle
  • How to find the long running (longops session) in Oracle

Copyright © 2023 : TechGoEasy

  • Hire me
  • Privacy Policy
  • Contact Us
  • New? Start Here
  • About Us