Skip Headers
Oracle® Application Server Installing and Getting Started with Standard Edition One
10g Release 2 (10.1.2) for Linux x86
B16043-02
  Go To Documentation Library
Home
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

1 Product and Installation Overview

Oracle Application Server Standard Edition One is an integrated and powerful product. To optimize its capabilities, you should take time to read this guide to get the basic idea about the product.

This chapter contains the following sections:

1.1 Product Overview

Oracle Application Server Standard Edition One provides a complete Web infrastructure tailored to the needs of small to medium-sized enterprises and departmental users within large organizations.

Oracle Application Server Standard Edition One includes:

1.2 What's New?

Oracle Application Server Standard Edition One includes the following new features:

1.3 Installation Overview

Following are the main groups of services available for Oracle Application Server Standard Edition One:

These two groups of services are also referred to as Oracle Application Server middle tiers. If you install OracleAS Portal, then the Oracle Application Server Infrastructure is also installed. The OracleAS Portal middle tier requires OracleAS Infrastructure to function whereas the J2EE and Web Services middle tier does not.

The following subsections describe these services in further detail.

1.3.1 Oracle J2EE and Web Services

Oracle J2EE and Web Services includes components used for application deployment, such as Oracle HTTP Server and Oracle Application Server Containers for J2EE (OC4J). Figure 1-1 illustrates the installation configuration.

Figure 1-1 Configuration for J2EE and Web Services

Description of seone_j2eewc_config.gif follows
Description of the illustration seone_j2eewc_config.gif

1.3.2 OracleAS Portal

OracleAS Portal services include Oracle Instant Portal with Identity Management and Metadata Repository, along with everything included in J2EE and Web Services. You have the option of using an existing database, such as the Metadata Repository, rather than using the Metadata Repository included with the product.

If you choose to install either of the available OracleAS Portal services, then Oracle Universal Installer performs a chained installation, which means that it will install and configure all applicable infrastructure components first, and then install and configure the middle tier components.

1.3.2.1 OracleAS Portal with a New Metadata Repository

If you use a new metadata repository, then the Oracle Application Server Standard Edition One infrastructure (Identity Management and Metadata Repository) is installed as shown in Figure 1-2.

Figure 1-2 Configuration of OracleAS Portal with New Metadata Repository

Description of seone_portal1_config.gif follows
Description of the illustration seone_portal1_config.gif

1.3.2.2 OracleAS Portal with an Existing Metadata Repository

If you use an existing metadata repository, then the Oracle Application Server Standard Edition One infrastructure (Identity Management only) is installed, as illustrated in Figure 1-3.

Figure 1-3 Configuration for OracleAS Portal for an Existing Metadata Repository

Description of seone_portal2_config.gif follows
Description of the illustration seone_portal2_config.gif

For this configuration, you must use Oracle Application Server Metadata Repository Creation Assistant (OracleAS Metadata Repository Creation Assistant) to create the Metadata Repository in an existing database before you install OracleAS Portal and Identity Management. OracleAS Metadata Repository Creation Assistant is available on a separate CD.


Note:

For more information about OracleAS Metadata Repository Creation Assistant, refer to Part III.

1.3.3 Basic and Advanced Installation

Table 1-1 summarizes the groups of services available with each installation type.

Table 1-1 Oracle Application Server Standard Edition One Install Types

Install Type Available Services
Basic
  • J2EE and Web Services
  • OracleAS Portal with Identity Management and New Metadata Repository

Advanced
  • J2EE and Web Services
  • OracleAS Portal with Identity Management and New Metadata Repository

  • OracleAS Portal with Identity Management and Existing Metadata Repository


This basic (single-click) installation prompts you with questions on the initial installation screen, and then it proceeds to install the product without any further user interaction. The default values for all the components are used.

The advanced installation provides you with a great degree of customization and flexibility, which enables installation of additional languages, port configuration options, the use of an existing database as the Metadata Repository (OracleAS Portal installation only), and database configuration (OracleAS Portal installation only).

Table 1-2 summarizes the differences in the customization options between a basic and advanced installation.

Table 1-2 Basic and Advanced Installation Features

Action or Option Basic Advanced
Specify an Oracle Home Yes Yes
Specify an instance name and ias_admin password Yes Yes
Specify a database name and password (OracleAS Portal only) Yes Yes
Select additional languages No Yes
Specify automatic or manual port configuration No Yes
Specify namespace in Oracle Internet Directory (OracleAS Portal only) No Yes
Specify database configuration options (OracleAS Portal only) No Yes
Specify schema passwords (OracleAS Portal only) No Yes
Specify existing repository to be used as a database (OracleAS Portal only) No Yes
Configuration assistants Yes Yes


Note:

  • For OracleAS Portal installations, you are asked to specify an installation directory, which then becomes part of the Oracle home directory. For details, refer to Section 1.4.2, "Oracle Home Directory".

  • In the basic installation screen, you can specify only a single password, which will be used by the database and SYS, SYSTEM, DBSNMP and SYSMAN accounts. In an advanced installation, you can specify a single password or specify a different password for each account.


1.3.4 General Installation Procedure

The steps for installing Oracle Application Server Standard Edition One are as follows:

  1. Refer to the following documents for the most current information:

  2. Refer to Chapter 2, to ensure that the computer where you want to run Oracle Application Server Standard Edition One meets the requirements. This chapter also includes a summary of the checks automatically performed by the installer.

  3. Refer to Chapter 3, "Installing J2EE and Web Services" or Chapter 4, "Installing OracleAS Portal" , to get detailed information about the installation procedures.

  4. Refer to Chapter 6, "Postinstallation Tasks", for information about what tasks should be performed immediately following the successful installation.

  5. After you install Oracle Application Server Standard Edition One, access the Welcome page and run some demos to ensure that the installation was successful.

1.4 Things to Know Before Installing Oracle Application Server Standard Edition One

This section contains a list of things that you should know before you install Oracle Application Server Standard Edition One. It contains the following topics:

1.4.1 Where can I Install Oracle Application Server Standard Edition One?

Oracle Application Server Standard Edition One must be installed on a single computer.

1.4.2 Oracle Home Directory

During the installation, you will be asked to provide the full path of the directory in which you install Oracle Application Server Standard Edition One. This directory is called the Oracle home.

For example, you can install Oracle Application Server Standard Edition One in /oracle/OraHome_SEOne, and you can name it OraHome_SEOne.


Notes:

Spaces are not allowed anywhere in the Oracle home directory path. For example, you cannot install in /opt/oracle/app server/infra10_1_2 because of the space character in app server. The installer does not check for this until several screens after you have entered the path.


See Also:

Section 1.4.2.1, "Naming Your Oracle Home", which describes how the name is used

If you choose to install only J2EE and Web Services, then only one Oracle home directory is created, which you specify during the installation.

If you install either of the two available OracleAS Portal services, then two Oracle home directories are created, one for OracleAS Infrastructure and one for OracleAS Portal.

  • user-specified-dir/infra

  • user-specified-dir/portal

The user-specified-dir variable refers to the directory you specify during the installation.


Note:

If you install either of the two available OracleAS Portal services on the same computer, then you need to create scripts for setting the environment for each instance (OracleAS Infrastructure and OracleAS Portal). This is to ensure that you run the binaries from the proper Oracle home. The environment variables that you need to set include ORACLE_HOME and PATH.

1.4.2.1 Naming Your Oracle Home

Each Oracle home directory is automatically given a name.

If you are installing only J2EE and Web Services, then your Oracle home is named oracleas1.

If you are installing either of the two available OracleAS Portal services, then:

  • The user-specified-dir/infra directory is named oracleas1

  • The user-specified-dir/portal directory is named oracleas2

The Oracle home name can consist of alphanumeric and the underscore (_) characters, and cannot be longer than 128 characters.

Because middle tiers (for example, OracleAS Portal) depend on OracleAS Infrastructure (for example, OracleAS Metadata Repository) services, the OracleAS Infrastructure services must be started before the middle tier services are started.

1.4.2.2 Installing in a Non-Empty Oracle Home

You cannot install Oracle Application Server Standard Edition One in a directory that already contains some files. For example, if you cancel an installation or if an installation fails, then you have to clean up the directory before you can reinstall Oracle Application Server Standard Edition One in it. In addition, the installer cannot repair an installation. Refer to Section G.3.4, "Message About Installing in a Non-Empty Directory" for instructions on how to clean up a non-empty directory.

1.4.3 Oracle Application Server Instances and Instance Names

If you install only J2EE and Web Services, then one middle tier instance is created on your computer. You are prompted to specify this instance name during the installation. This name can be different from the Oracle home name. For example, you might specify an instance name as seone.

If you install either of the two available OracleAS Portal services, then two instances are created on your computer, one for the OracleAS Infrastructure and the second for the middle tier. If you perform a basic installation, then you only specify the instance name for the middle tier because the OracleAS Infrastructure instance name is generated automatically. For details, refer to Section 5.3, "Welcome Screen".

If you perform an advanced installation, then you will be prompted to specify the OracleAS Infrastructure and middle tier (OracleAS Portal) instance name separately. For more information, refer to Section 5.11, "Specify Instance Names and ias_admin Password".

You cannot change the instance name after installation.

Oracle Application Server appends the host name and domain name to the given instance name to form a complete instance name. For example, if you are installing an instance on a computer named c1, and you name the instance seone1, then the full name of the instance is seone1.c1.mydomain.com, assuming the domain name is mydomain.com.

Valid Characters in Instance Names

Instance names can consist only of the alphanumeric characters (A-Z, a-z, 0-9) and the underscore (_) character.

There is no maximum length restriction for instance names.

Restrictions on Oracle Application Server Instance Names

Do not use the host name of the computer when naming Oracle Application Server Standard Edition One instances.

How Oracle Application Server Uses Instance Names

Instance names are important because Oracle Application Server Standard Edition One uses them to uniquely identify instances. This means that if you install either of the two available OracleAS Portal services with an advanced installation, then ensure that you specify different names for OracleAS Infrastructure and OracleAS Portal.

When you administer Oracle Application Server Standard Edition One using Oracle Enterprise Manager Application Server Control (Application Server Control), the instance name appears on the screens. You can click the instance name to view details about the instance, such as the components that are installed in that instance, if the components are running or stopped, and the log files for the components. The Application Server Control is a browser-based administration tool for Oracle Application Server Standard Edition One.


See Also:

Oracle Application Server Administrator's Guide for details about this administration tool

In addition, some dcmctl commands require an instance name as a parameter. dcmctl is a command-line tool for administering Oracle Application Server instances.


See Also:

Distributed Configuration Management Administrator's Guide for details about dcmctl

1.4.4 The ias_admin User and Restrictions on its Password

The installer prompts you to specify the password for the ias_admin user. The ias_admin user is the administrative user for Oracle Application Server Standard Edition One.

For Oracle Application Server Standard Edition One the ias_admin password you specify on the first installation screen is also the password used for:

  • Logging in as user ias_admin to Application Server Control Console to manage Oracle Application Server Standard Edition One.

  • Logging in as user portal to Oracle Instant Portal to monitor and manage Oracle Instant Portal.

  • Logging in as user orcladmin to OracleAS Single Sign-On to manage user access to your applications.

ias_admin Password Restrictions

The password for the ias_admin user must conform to password policy of Oracle Internet Directory:

  • The minimum length is five alphanumeric characters.

  • At least one of the characters must be a number.

In addition to the password policy defined in Oracle Internet Directory, the password for the ias_admin user has the following restrictions:

  • Passwords must be shorter than 30 characters.

  • Passwords can contain only alphanumeric characters from your database character set, the underscore (_), the dollar sign ($), and the number sign (#).

  • Passwords must begin with an alphabetic character. Passwords cannot begin with a number, the underscore (_), the dollar sign ($), or the number sign (#).

  • Passwords cannot be Oracle reserved words. The Oracle Database SQL Reference lists the reserved words. You can find this guide on Oracle Technology Network (http://www.oracle.com/technology/documentation). Or you can just avoid using words that sound like they might be reserved words.


Note:

When entering your password, check that the state of the Caps Lock key is what you want it to be. Passwords are case-sensitive.

You must remember the password because when you log on to Application Server Control to manage Oracle Application Server, you log on as the ias_admin user. If you forget the password, then you can reset it.


See Also:

Oracle Application Server Administrator's Guide for details

1.4.5 Global Database Name and Restrictions on its Password

A database is identified by its global database name. The global database name consists of two parts:

database_name.database_domain

For example: sales.us.yourcompany.com

In this example, sales is the database name, and us.yourcompany.com is the database domain.

Use the following guidelines when specifying the global database name:

  • Choose a database name that reflects the intended use of the database (for example, sales).

    Do not include references to the software version in the database name.

  • Choose a database domain that distinguishes this database from other databases in a distributed environment. For example, by choosing the two different domains us.yourcompany.com and jp.yourcompany.com, the Sales departments in Japan and the US can both have a database called sales.

  • The database domain that you specify need not be the same as the system's network domain, but it can be the same if appropriate.

  • The following characters are valid in both the database name and database domain: alphanumeric characters, the underscore (_) character, the hyphen character (-), and the number sign (#) character.

  • The period character is valid in the database domain.

  • The database name cannot be longer than eight characters.

  • The database name must begin with an alphanumeric character (A-Z and 0-9).

  • The database domain, including periods, must be no longer than 128 characters.

The value that you specify, up to the first period, becomes the value of the DB_NAME initialization parameter. Any value that you specify after the first period becomes the value of the DB_DOMAIN initialization parameter.

The value of the DB_NAME parameter is also automatically assigned to the ORACLE_SID environment variable. This environment variable defines the name of an Oracle database instance.

Database Password Restrictions

Typically, an Oracle database requires a password for the following database administrative accounts (schemas): SYS, SYSTEM, SYSMAN, and DBSNMP. For a basic Oracle Application Server Standard Edition One installation, the global database password that you specify on the first installation screen will be used for all these accounts.

Following are the restrictions for the database password:

  • Passwords must be between 4 and 30 characters long.

  • Passwords cannot be the same as the user name.

  • Passwords must be from the database character set and can include the underscore (_), dollar ($), and pound sign (#) characters.

  • Passwords cannot be Oracle reserved words.

Database Password Recommendations

Following are some recommendations for selecting a database password:

  • Passwords should have at least one alphabetic, one numeric, and one punctuation mark character.

  • Passwords should not be simple or obvious words, such as welcome, account, database, or user.

1.4.6 Language and Locale Settings

The basic installation creates a repository database with the AL32UTF8 character set, and installs Oracle Application Server Standard Edition One with messages in English and in the locale where the Oracle Universal Installer is run. If you need additional languages, then you must perform an advanced installation, and select the desired languages in the Language Selection screen. For more information about this screen, refer to Section 5.5.

When you select additional languages to install, the installer installs messages in the selected languages, as well as the fonts required to display those languages.

1.4.6.1 Installing Additional Languages After Installing Oracle Application Server Standard Edition One

If you need to support more languages after the installation, then you must run the Portal Language Assistant tool to load the translations for those languages, and also copy necessary font files to your middle tier directory from the OracleAS Metadata Repository Upgrade Assistant and Utilities CD-ROM.

1.4.6.2 Portal User Interface Message Installation

You can find Portal translated resource files in the following directory:

$ORACLE_HOME/portal/admin/plsql/nlsres/ctl

These files must be loaded into a repository database to support the additional languages.

To load the translation, you can use the following command:

ptllang -lang lang_code [-i install_type]
                        [-s portal_schema]
                        [-sp portal_schema_password]
                        [-c portal_db_connect_string]


See Also:

Oracle Application Server Portal Configuration Guide for more information

Table 1-3 describes the optional configuration parameters for this command.

Table 1-3 ptllang Command Configuration Parameters

Parameter Description
-lang Abbreviation for the language to install.

See Also: Table 4-4, "OracleAS Portal Languages and Language Abbreviations" in Oracle Application Server Portal Configuration Guide for a list of all supported abbreviations

-i Installation type.

This can be set to typical or custom. In the typical mode, the script automatically connects to the registered OracleAS Metadata Repository. For OracleAS Portal schemas in a customer database, use the custom mode.

Default: typical

-s OracleAS Portal schema name.

Default: portal

-sp OracleAS Portal schema password. The password can either be retrieved from Oracle Internet Directory or changed using SQLPlus.

See Also: Oracle Application Server Administrator's Guide.

-c Connect string to the database where the OracleAS Metadata Repository is installed. The format must be:

DbHostName:DbPortNumber:DbServiceName


Following is an example of the ptllang command:

ptllang -lang ja -i custom -s portal -sp welcome1 -c host:1521:orasid

1.4.6.3 Oracle Unicode Font Installation Requirements

Only fonts required by Application Server Control Console and Help (for example, Albany fonts ALBANWTJ.TTF and ALBANWTK.TTF) for the languages you select during the installation will be installed. This means that some text might be displayed as control characters for the languages you did not choose during the installation.

The additional required fonts are stored in the /utilities/fonts folder on the Oracle Application Server Metadata Repository Upgrade Assistant and Utility CD-ROM.

Following is the font list for the languages you might need to support:

  • ALBANWTJ - Non English, plus Japanese

  • ALBANWTK - Korean

  • ALBANWTS - Simplified Chinese

  • ALBANWTT - Traditional Chinese

To install these fonts, perform the following steps after the middle tier is installed:

  1. Navigate to the /utilities/fonts folder on the Oracle Application Server Metadata Repository Upgrade Assistant and Utility CD-ROM.

  2. Copy the contents of the /utilities/fonts directory to the following folder on the middle tier:

    $ORACLE_HOME/jdk/jre/lib/fonts
    
    

1.4.7 Ports

Many Oracle Application Server components, such as Oracle HTTP Server and Oracle Enterprise Manager Application Server Control, use ports. You can have the installer assign default port numbers, or use port numbers that you specify.

This section contains the following topics regarding ports:

1.4.7.1 Checking If a Port Is Being Used

To check if a port is being used, you can run the netstat command as follows:

/> netstat -an | grep portnum

1.4.7.2 Getting a List of Port Numbers

You can get a list of port numbers in the following ways:

  • Use Oracle Enterprise Manager Application Server Control.

    Click the Ports link on the Oracle Enterprise Manager Application Server Control home page. This takes you to a page that lists all ports in use and the suggested port ranges for different components.

  • Look in the $ORACLE_HOME/install/portlist.ini file. ORACLE_HOME refers to the directory containing the Oracle Application Server installation.

    If you change the port number of a component after installation, then the portlist.ini file is not updated because the portlist.ini file is not updated after installation.

1.4.7.3 Using Default Port Numbers

If you want to use the default port numbers for such components, then you do not have to do anything. Refer to Appendix C, "Default Port Numbers" for a list of the default port numbers and ranges. Ensure that at least one port is available in the port range for each component. If the installer is unable to find a free port in that range, then the installation will fail.


Note:

  • 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, then 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.

  • In the default configuration, 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, then 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 Appendix C, "Default Port Numbers" for a list of default port numbers.


1.4.7.4 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. 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, then 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.

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.

# staticports.ini Template File
 
# This file is a template for specifying port numbers at installation time.
# To specify a port number, uncomment the appropriate line (remove #) and
# replace "port_num" with the desired port number.
# 
# Please refer to Oracle Application Server  10g Standard Edition one 
# Installation Guide for instructions on how to use this file.
# This file cannot be specified on the command line when launching OUI
 
[Infrastructure]
#Oracle Internet Directory port = port_num
#Oracle Internet Directory (SSL) port = port_num
#Oracle Certificate Authority SSL Server Authentication port = port_num
#Oracle Certificate Authority SSL Mutual Authentication port = port_num
#Ultra Search HTTP port number = port_num
#Oracle HTTP Server port = 80
#Oracle HTTP Server Listen port = port_num
#Oracle HTTP Server SSL port = port_num
#Oracle HTTP Server Listen (SSL) port = port_num
#Oracle HTTP Server Diagnostic port = port_num
#Java Object Cache port = port_num
#DCM Java Object Cache port = port_num
#DCM Discovery port = port_num
#Oracle Notification Server Request port = port_num
#Oracle Notification Server Local port = port_num
#Oracle Notification Server Remote port = port_num
#Application Server Control port = port_num
#Application Server Control RMI port = port_num
#Oracle Management Agent port = port_num
#Log Loader port = port_num
 
 
[Portal]
#Ultra Search HTTP port number = port_num
#Oracle HTTP Server port = port_num
#Oracle HTTP Server Listen port = port_num
#Oracle HTTP Server SSL port = port_num
#Oracle HTTP Server Listen (SSL) port = port_num
#Oracle HTTP Server Diagnostic port = port_num
#Java Object Cache port = port_num
#DCM Java Object Cache port = port_num
#DCM Discovery port = port_num
#Oracle Notification Server Request port = port_num
#Oracle Notification Server Local port = port_num
#Oracle Notification Server Remote port = port_num
#Application Server Control port = port_num
#Application Server Control RMI port = port_num
#Oracle Management Agent port = port_num
#Web Cache HTTP Listen port = port_num
#Web Cache HTTP Listen (SSL) port = port_num
#Web Cache Administration port = port_num
#Web Cache Invalidation port = port_num
#Web Cache Statistics port = port_num
#Log Loader port = port_num
#Discoverer OSAgent port = port_num
 
 
[j2ee]
#Ultra Search HTTP port number = port_num
#Oracle HTTP Server port = port_num
#Oracle HTTP Server Listen port = port_num
#Oracle HTTP Server SSL port = port_num
#Oracle HTTP Server Listen (SSL) port = port_num
#Oracle HTTP Server Diagnostic port = port_num
#Java Object Cache port = port_num
#DCM Java Object Cache port = port_num
#DCM Discovery port = port_num
#Oracle Notification Server Request port = port_num
#Oracle Notification Server Local port = port_num
#Oracle Notification Server Remote port = port_num
#Application Server Control port = port_num
#Application Server Control RMI port = port_num
#Oracle Management Agent port = port_num
#Web Cache HTTP Listen port = port_num
#Web Cache HTTP Listen (SSL) port = port_num
#Web Cache Administration port = port_num
#Web Cache Invalidation port = port_num
#Web Cache Statistics port = port_num
#Log Loader port = port_num

The easiest way to create the file is to use the staticports.ini file on the CD-ROM (Disk 1) or DVD as a template:

  1. Copy the staticports.ini file from the CD-ROM or DVD to the hard disk. Table 1-4 provides the location of the file on the CD-ROM and DVD.

    Table 1-4 Location of the staticports.ini file on the CD-ROM and DVD

    Media Location of the staticports.ini File
    CD-ROM Disk1/stage/Response/staticports.ini
    DVD CD-ROM

  2. Edit the local copy (the file on the hard disk) to include the desired port numbers.

    You do not need to specify port numbers for all components in the staticports.ini file. If a component is not listed in the file, then the installer uses the default port number for that component.

    You cannot change the port used by the OracleAS Metadata Repository (port 1521) during installation, but you can do so after installation.


    See Also:

    Oracle Application Server Administrator's Guide for details.

    The following example sets the Application Server Control port and some OracleAS Web Cache ports. For components not specified, the installer will assign the default port numbers.

    Application Server Control port = 2000
    Web Cache Administration port = 2001
    Web Cache Invalidation port = 2002
    Web Cache Statistics port = 2003
    
    

    When the installation is complete, you can check the $ORACLE_HOME/install/portlist.ini file to view the assigned ports.


    Note:

    Port numbers cannot be greater than 65535.

    The installer verifies that the ports specified in the file are available by checking the memory. This means that it can only detect ports that are being used by running processes. It does not look in configuration files to determine which ports an application is using.

    If the installer detects that a specified port is not available, then it displays an alert. The installer will not assign a port that is not available. To fix this:

    1. Edit the staticports.ini file to specify a different port, or shut down the application that is using the port.

    2. Click Retry. The installer re-reads the staticports.ini file and verifies the entries in the file again.

Using portlist.ini as the staticports.ini File

The staticports.ini file uses the same format as the $ORACLE_HOME/install/portlist.ini file, which is created after the installation. If you have installed Oracle Application Server Standard Edition One and you want to use the same port numbers in another installation, then you can use the portlist.ini file from the first installation as the staticports.ini file for subsequent installations.

However, note this difference in the staticports.ini: the line Oracle Management Agent port corresponds to Enterprise Manager Agent port in portlist.ini.

Error Conditions That Will Cause the Installer to Use Default Ports Instead of Custom Ports

Check your staticports.ini file carefully because a mistake can cause the installer to use default ports without displaying any warning.

Following are some things that you should check:

  • If you specify the same port for more than one component, then the installer will use the specified port for the first component, but for the other components, it will use the default ports of the components. If you have specified the same port for multiple components, then the installer does not warn you.

  • If you have syntax errors in the staticports.ini file (for example, if you omitted the = character for a line), then the installer ignores the line. For the components specified on such lines, the installer assigns the default ports. The installer does not display a warning for lines with syntax errors.

  • If you misspell a component name, then the installer assigns the default port for the component. Names of components in the file are case sensitive. The installer does not display a warning for lines with unrecognized names.

  • If you specify a non-numeric value for the port number, then the installer ignores the line and assigns the default port number for the component. It does this without displaying any warning.

  • If you specify a relative path to the staticports.ini file (for example, ./staticports.ini. or just staticports.ini), then the installer will not find the file. The installer continues without displaying a warning and it will assign default ports to all components. You must specify a full path to the staticports.ini file.

1.4.8 If Port 1521 is Already in Use

The installer configures port 1521 for the OracleAS Metadata Repository listener (version 10.1.0.3). This port cannot be changed using the staticports.ini file.


Note:

If your computer has a listener that uses the IPC protocol with the EXTPROC key, then you should change the key to have some other value. This is because the OracleAS Metadata Repository listener requires access to the EXTPROC key.

If port 1521 on your computer is already in use by an existing application, such as Oracle database listener or some other application, then you might have to take some action before running the installer. Refer to the following sections for details:

1.4.8.1 If an Existing Oracle Database Is Using Port 1521

If you are installing a new database for the OracleAS Metadata Repository on a computer that is already running an Oracle database, then ensure that the listeners for both databases do not conflict.

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. Table 1-5 provides various scenarios and outcomes.

You can change the OracleAS Metadata Repository listener to use a different port after installation.


See Also:

Oracle Application Server Administrator's Guide for details

Table 1-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.

Refer to 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.

Refer to 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.

Refer to 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.

Refer to Scenario 3: Existing Listener Uses a Port Other Than 1521.


To check the listener version, run the following command:

/> cd $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 a sample output of the command:

/> ./lsnrctl VERSION LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 19-MAR-2005 19:46:54
Copyright (c) 1991, 2004, Oracle.  All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))TNSLSNR for Linux: Version 10.1.0.2.0 - Production
        TNS for Linux: Version 10.1.0.2.0 - Production
        Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 10.1.0.2.0 -         Production
        Oracle Bequeath NT Protocol Adapter for Linux: Version 10.1.0.2.0 - Production
               TCP/IP NT Protocol Adapter for Linux: Version 10.1.0.2.0 - Production,,
The command completed successfully

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 (10.1.2). 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 using the following command:

    /> cd $ORACLE_HOME/bin
    /> lsnrctl stop
    
    

    ORACLE_HOME is the home directory for your existing database.

    If you do not stop the existing listener, then the installation will fail.

  2. Install the OracleAS Metadata Repository.

    Refer to any of the procedures that install an OracleAS Metadata Repository in Chapter 4, "Installing OracleAS Portal".

  3. Update the configuration file of the new listener, as necessary. The name of the listener configuration file is listener.ora, located in the $ORACLE_HOME/network/admin directory.

    1. Check network address entries in the configuration file of the existing listener.

      If the configuration file of the existing listener contains only the following network addresses, then you do not have to edit the OracleAS Metadata Repository configuration file of the listener for the following network addresses:

      • TCP Port 1521

      • IPC key EXTPROC

      If the configuration file contains other network addresses, then you need to add them to OracleAS Metadata Repository configuration file of the listener.

    2. Check SID_DESC entries in the existing listener configuration file.

      If the existing listener configuration file contains SID_DESC entries for the existing database, then you need to add these entries to the OracleAS Metadata Repository listener configuration file.

    3. Do not start the existing listener (version earlier than 10.1.0.2). Now that the new listener supports both databases, you do not need to run the existing listener.


Note:

Step c in the preceding procedure is very important. You only need to run one listener (the new listener) to support both databases.

Scenario 2: Existing Listener Uses Port 1521 and Listener Version Is 10.1.0.2 or Later

The existing listener will support both the existing database and the OracleAS Metadata Repository. The installer will perform this configuration automatically.

The listener can be running during installation.

Scenario 3: Existing Listener Uses a Port Other Than 1521

You will end up running two listeners: one for the existing database and one for the OracleAS Metadata Repository, regardless of the version of the existing listener.

The existing listener can be running during installation, because it is not using port 1521.

1.4.8.2 If Some Other Application Is Using Port 1521

If you have some other application listening on port 1521, then you need to reconfigure it to listen on a different port. If that is not possible, then shut it down while you install the OracleAS Metadata Repository. After installation, you can reconfigure OracleAS Metadata Repository to use a port other than 1521.


See Also:

Oracle Application Server Administrator's Guide for instructions on how to reconfigure OracleAS Metadata Repository to use a port other than 1521

1.4.9 Where Does the Installer Write Files?

The installer writes files to the directories listed in Table 1-6:

Table 1-6 Directories Where the Installer Writes Files

Directory Description
Oracle home directory This directory contains Oracle Application Server Standard Edition One files. You specify this directory when you install Oracle Application Server Standard Edition One.
Inventory directory

(as specified in /etc/oraInst.loc)

The installer uses the inventory directory to keep track of which Oracle products are installed on the computer. The inventory directory is created when you install the first Oracle product on the computer. In subsequent installations, the installer uses the same inventory directory.
/tmp directory The installer writes files needed only during installation to a temporary directory. The temporary directory is specified by the TEMP variable. Refer to TMP and TMPDIR for details.