Oracle B32100-01 User Manual

Page of 258
Ports
2-10
Oracle Application Server Installation Guide
2.5.3 Using Custom Port Numbers (the "Static Ports" Feature)
To instruct the installer to assign custom port numbers for components:
1.
Create a file containing the component names and port numbers. 
 describes the file format. This file is typically 
called the staticports.ini file, but you can name it anything you want.
2.
In the installer, on the Specify Port Configuration Options screen, select Manual 
and enter the full path to the staticports.ini file.
If you do not specify the full path to the file, the installer will not be able to find 
the file. The installer will then assign default ports for all the components, and it 
will do this without displaying any warning.
2.5.3.1 Format of the staticports.ini File
The staticports.ini file has the following format. Replace port_num with the port 
number that you want to use for the component.
# J2EE and HTTP Server
Note:
In the default configuration of the /etc/services file 
includes ports 389 and 636 (for LDAP and LDAP/SSL). These 
happen to be the default ports for Oracle Internet Directory. 
This means that if you want to use these port numbers for 
Oracle Internet Directory, you must either delete or comment 
out these lines in the /etc/services file. To comment out a 
line, add a # at the beginning of the line, as shown:
# ldap   389/tcp   # Lightweight Directory Access Protocol
# ldap   389/udp   # Lightweight Directory Access Protocol
# ldaps  636/tcp   # LDAP protocol over TLS/SSL (was sldap)
# ldaps  636/udp   # LDAP protocol over TLS/SSL (was sldap)
If you do not comment out or remove the lines from /etc/services, 
then the installer will not assign ports 389 and 636. It assigns a number 
from the port number range for Oracle Internet Directory. Refer to 
 for a list of default port 
numbers.
The installer will not assign port numbers that are specified in 
the /etc/services file. If you do not want the installer to 
assign a specific port number, then add the port number to the 
/etc/services
 file. For example, if you want to reserve port 
7777 for an application, you can add something like the 
following line to /etc/services:
myApplication      7777/tcp
The installer will not assign port 7777 to any component if this line 
exists in the /etc/services file.
Difference from Previous Release:
In 10g (9.0.4), you used 
command-line options to specify the staticports.ini file. In this release, 
you specify the file in the new Specify Port Configuration Options 
screen.