Oracle B32100-01 User Manual
Page 38
Ports
2-14
Oracle Application Server Installation Guide
You might be able to use the same listener for both the existing database and the
OracleAS Metadata Repository database. You have to consider the version of the
existing listener as well as the port number.
shows scenarios and outcomes.
You can change the OracleAS Metadata Repository listener to use a different port after
installation. See the Oracle Application Server Administrator’s Guide for details.
To check the listener version, run the following command:
prompt> $ORACLE_HOME/bin/lsnrctl VERSION
where ORACLE_HOME is the home directory for your database.
You can also use the same command to check the listener port.
Here is an example of the command’s output:
bin/lsnrctl VERSION
LSNRCTL for HPUX: Version 10.1.0.5 - Production on 23-SEP-2005 19:15:32
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=plhpxm11.us.oracle.com)(PORT=1521)))
TNSLSNR for HPUX: Version 10.1.0.5 - Production
TNS for HPUX: Version 10.1.0.4.0 - Production
Unix Domain Socket IPC NT Protocol Adaptor for HPUX: Version 10.1.0.4.0 -
Production
Oracle Bequeath NT Protocol Adapter for HPUX: Version 10.1.0.4.0 -
Production
TCP/IP NT Protocol Adapter for HPUX: Version 10.1.0.4.0 - Production,,
The command completed successfully
2.5.4.1.1
Scenario 1: Existing Listener Uses Port 1521 and Listener Version Is Earlier Than
10.1.0.2
Listeners earlier than version 10.1.0.2 are not compatible with the OracleAS
Metadata Repository from this Oracle Application Server release. What you need to do
is to install the OracleAS Metadata Repository, which installs a version 10.1.0.3
listener. You can then use this new listener to service your existing database and the
OracleAS Metadata Repository database.
1.
Stop the existing listener before you install the OracleAS Metadata Repository.
Table 2–5
Scenarios and Outcomes if You Have an Existing Database on the Computer Where You Want to
Install the OracleAS Metadata Repository
Version of the
Existing Listener
Existing Listener Uses Port 1521
Existing Listener Uses a Port Other Than
1521
Earlier than 10.1.0.2 You need two listeners: one for the existing
database and one for the OracleAS Metadata
Repository.
Section 2.5.4.1.1, "Scenario 1: Existing
Listener Uses Port 1521 and Listener Version
Is Earlier Than 10.1.0.2"
You need two listeners: one for the existing
database and one for the OracleAS Metadata
Repository.
See
Section 2.5.4.1.3, "Scenario 3: Existing
Listener Uses a Port Other Than 1521"
.
10.1.0.2 or later
The existing listener supports both the
existing database and the OracleAS
Metadata Repository.
Section 2.5.4.1.2, "Scenario 2: Existing
Listener Uses Port 1521 and Listener Version
Is 10.1.0.2 or Later"
You need two listeners: one for the existing
database and one for the OracleAS Metadata
Repository.
See
Section 2.5.4.1.3, "Scenario 3: Existing
Listener Uses a Port Other Than 1521"
.