Changing the Oracle Internet Directory Port for Oracle Portal Changing the PPE Loopback Port

Managing Ports 5-11 repository on the same host that contains another Oracle Database 10g or Oracle Database 11g database, they can all use port 1521. There is no need to change the listener port number. A metadata repository may be used in several different ways. Use the following table to determine the steps that are required for changing your type of metadata repository: The procedure consists of the following tasks: ■ Task 1, Stop Components ■ Task 2, Change the Metadata Repository for Oracle Net Listener Port ■ Task 3, Change the System Data Source ■ Task 4, Update Oracle Internet Directory ■ Task 5, Update Oracle Single Sign-On ■ Task 6, Update Oracle Portal ■ Task 7, Update Other Components Task 1 Stop Components Stop all components that use the Metadata Repository. See Chapter 4 for instructions. Note: To run two listeners that use the same key value on one host, refer to Section 5.3.6.1, Changing the KEY Value for an IPC Listener If the Metadata Repository is used as follows: Follow these tasks to change its Oracle Net listener port: Identity Management repository and product metadata repository Task 1, Stop Components Task 2, Change the Metadata Repository for Oracle Net Listener Port Task 3, Change the System Data Source Task 4, Update Oracle Internet Directory Task 5, Update Oracle Single Sign-On Task 6, Update Oracle Portal Task 7, Update Other Components Identity Management repository only Task 1, Stop Components Task 2, Change the Metadata Repository for Oracle Net Listener Port Task 4, Update Oracle Internet Directory Task 5, Update Oracle Single Sign-On Product metadata repository Task 1, Stop Components Task 2, Change the Metadata Repository for Oracle Net Listener Port Task 3, Change the System Data Source Task 4, Update Oracle Internet Directory Task 6, Update Oracle Portal Task 7, Update Other Components 5-12 Oracle Fusion Middleware Administrators Guide Task 2 Change the Metadata Repository for Oracle Net Listener Port On the metadata repository host: 1. Ensure that the ORACLE_HOME and ORACLE_SID environment variables are set. 2. Stop the metadata repository listener: lsnrctl stop 3. Edit the listener.ora file, which is located at: UNIX ORACLE_HOMEnetworkadminlistener.ora Windows ORACLE_HOME\network\admin\listener.ora Under the LISTENER entry, update the value for PORT. Save the file. 4. Edit the tnsnames.ora file. The default location is: UNIX ORACLE_HOMEnetworkadmintnsnames.ora Windows ORACLE_HOME\network\admin\tnsnames.ora Make the following changes to the file: a. Update the PORT value in each entry that applies to MDS Repository. b. Add an entry similar to the following: newnetport = DESCRIPTION = ADDRESS = PROTOCOL = tcp HOST = hostname PORT = port In the example, hostname is the fully qualified host name and port is the new port number. 5. Start the metadata repository listener: lsnrctl start 6. Using SQLPlus, log in to the metadata repository as the SYSTEM user with SYSDBA privileges and run the following command: SQL ALTER SYSTEM SET local_listener=newnetport scope=spfile; 7. Using SQLPlus, restart the metadata repository: SQL SHUTDOWN SQL STARTUP 8. Start Oracle Internet Directory: opmnctl start opmnctl startproc ias-component=OID Task 3 Change the System Data Source Change the system data source to use the new port number for the metadata repository. To do so, you use Oracle WebLogic Server Administration Console: 1. In the Change Center, click Lock Edit. 2. In the Domain Structure section, expand Services and select Data Sources. The Summary of JDBC Data Sources page is displayed. 3. Select the data source you want to change.