Skip Headers

Oracle9i Application Server Release Notes
Release 2 (9.0.2.0.1) for AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, and Linux Intel

Part Number B10056-02
Go To Documentation Library
Home
Go To Table Of Contents
Contents

Go to previous page Go to next page

2
Installation and Migration Issues

This chapter describes installation and migration issues and their workarounds. Topics include:

2.1 Installation Issues

This section covers these installation issues:

2.1.1 Oracle9iAS Installation and Multiple Operating System Users

If you are installing more than one Oracle9i Application Server instance on a single computer, then you must perform all of the installations as the same operating system user.

2.1.2 Multiple Infrastructure-based Deployment

Oracle9iAS supports multiple infrastructure installations. The first (or primary) infrastructure installation must contain SSO, Oracle Internet Directory, a Metedata Repository, and, optionally, Oracle Management Server. Any subsequent (or secondary) infrastructure installations:

The purpose of a secondary installation is to provide an additional Metadata Repository in case the load on the primary Metadata Repository is excessive.

You can install a secondary infrastructure by choosing a custom installation and selecting Metadata Repository and optionally Oracle Management Server. You will be prompted for SSO and Oracle Internet Directory information, at which time you should supply the information for the primary infrastructure.

The middle tier application server installations that are installed after a secondary infrastructure can use that secondary infrastructure. This means that you cannot change existing middle tier application server installations to use the secondary infrastructure.

If you want a middle tier installation to use the secondary infrastructure, specify the SSO and Oracle Internet Directory from the primary infrastructure at install time. When you are prompted to specify which infrastructure's Metadata Repository you would like to use, choose the Metadata Repository from the secondary installation.

2.1.3 Start Dependencies When Installing Against Oracle9iAS Infrastructure

When installing Oracle9iAS against an existing Oracle9iAS Infrastructure, ensure that the following infrastructure components are running:

If you are installing an Oracle9iAS Infrastructure component, then ensure that its dependencies are running before starting the installation process. For example, before installing Oracle9iAS Single Sign-On, start Oracle9iAS Metadata Repository, Oracle Internet Directory, and Oracle HTTP Server.

If Oracle HTTP Server is not running on the Infrastructure, then you might get the following error message when you try to use the Infrastructure during installation:

An error occured while attempting to verify your host and port. Please verify
your host and port values and that you can connect to this host, or enter new
values. User Output Stringlist is: <infra_host>:<port>.
Return value from SSORunning function is INVALID.

2.1.4 Prompt for Database Files Location During Install

If your computer does not have enough space in the Oracle home directory to create the database files required by the Oracle9iAS Metadata Repository, then you will be prompted to select another location to install them.

2.1.5 Modification in init.ora for Oracle9iAS Metadata Repository

If you are using Oracle9iAS Metadata Repository, edit the init.ora file to remove the following entry:

_optim_peek_user_binds=FALSE 

2.1.6 Multiple Install Types into the Same Infrastructure Instance Overwrites Portal

Multiple Oracle9iAS Portal & Wireless installations pointing to a single Portal instance in the metadata repository would override the existing entries. Entries related to Web Cache would get overwritten in the Portal instance each time you run the mid-tier installation.

As a workaround, disable Web Cache for Portal in all the Oracle9iAS instances with the following procedure:

  1. Log on to Portal runtime.

  2. Click Builder to get the Portal design time home page.

  3. Click Administer.

  4. Click Global Settings within the services portlet.

  5. Click cache.

  6. Deselect the Enable Web Cache for caching portal content checkbox.

  7. Click Apply and OK.

Note that each time you install the mid-tier, you drop and recreate the Portal users from Oracle Internet Directory. The password for the Portal lightweight user is the mid-tier instance name from the most recent installation.

2.1.7 Oracle9iAS Wireless Installation Requires Oracle9iAS Portal

During the installation process, when the component configuration screen appears, if you select to install Wireless, ensure that Portal is also selected. The configuration tool for Wireless requires Portal to work.

2.1.8 Oracle HTTP Server Does Not Start if SSO/mod_osso Registration Failed

If the Oracle9iAS Infrastructure Configuration Assistant fails to register Oracle9iAS Single Sign-On Server /mod_osso during installation, Oracle HTTP Server will not start. There are two options to correct this problem.

2.1.9 Enabling Oracle9iAS Web Cache and mod_osso

When the Oracle9iAS installer initially registers mod_osso with the Oracle9iAS Single Sign-On, it passes the registration URLs containing the port number of the Oracle HTTP Server, instead of the port number of Oracle9iAS Web Cache. Since the installer passes the incorrect port number, it bypasses Oracle9iAS Web Cache.

For mod_osso to work correctly, manually re-register mod_osso using URLs that have the Oracle9iAS Web Cache port.

See Also:

"Component Configuration Dependencies" chapter in the Oracle9i Application Server Administrator's Guide for detailed information on how changes in hostname and port affect Oracle9i Application Server, and, specifically, how mod_osso and Oracle9iAS Single Sign-On may be affected,

Another alternative workaround is to shutdown Oracle9iAS Web Cache instead of re-registering the SSO partner. Since the entry point is now Oracle HTTP Server instead of Oracle9iAS Web Cache, the error would not show up.


Note:

You can use the above mentioned workaround before re-registering using the Oracle9iAS Web Cache port. Also, when you use this workaround, you have to enter with the Oracle HTTP Server port. For example, if Oracle HTTP Server is running on 7779 and Oracle9iAS Web Cache is running on 7778, then you need to enter the following URL: http://<host.domain>:7779.


On Microsoft Internet Explorer, refresh the page once the changes are made. Otherwise, you might encounter the following error:

Forbidden 
You don't have permission to access /osso_login_success on this server.

2.1.10 Report Configuration Assistant Fails During Installation

During installation, if the Reports Configuration Assistant fails and give the following message:

Process destroyed exception (in the installer configuration palette)

then perform the following steps:

  1. Log on to Oracle Internet Directory and obtain the Portal user database password.

  2. Log on to the metadata repository as Portal user and run the following script:

    ORACLE_HOME/portal/admin/plsql/wwd/rwaddpag.sql
    
    

    This creates the Reports portlet.

Alternatively, you can create a tnsnames entry and execute the script as Portal user with the Portal user password obtained from the Oracle Internet Directory, as described in Step 1.

2.1.11 Service Errors and NoClassDefFound Exceptions

After accessing a large number of different module services or HTTP adapter-based services (with JSP-based content sources hosted on the same Java VM), some of the services fail with a 'service error'. Accessing the target JSPs results in a 'NoClassDefFound' exception. Restarting the server corrects the problem.

When an application is loaded for the first time, the OC4J classloaders read the class bytes in the library jars into memory; it does so even without the classes being instantiated (because the application instantiates classes from an in-memory array).

Class files resulting from compiling JSP files are loaded dynamically. With time, the heap gets filled up and newer classes from compiled JSPs cannot be read into the memory array(s), nor instantiated on the heap. Hence the top-level classloaders fail with a 'NoClassDefFound' exception. In subsequent lookups, the 'OutOfMemoryError' is not thrown since the JDK classloader loadClass( ) implementation semantics prescribe NOT reloading classes that could not deterministically be loaded earlier.

To determine if this is the case, check the number of OutOfMemoryErrors in sys_panama.log. That number should be the same as the number of times the server has been restarted.

If it is the case, increase the heap-size for the VM by modifying the Java option subelement of the OC4J element corresponding to the instanceName OC4J_Wireless.

  1. From your browser, point to Oracle Enterprise Manager at http://<host>:1810.

  2. Log in to Enterprise Manager as ias_admin/<password supplied at install time>.

  3. Select your middle tier instance.

  4. Select OC4J_Wireless. The OC4J_Wireless screen appears.

  5. Select "Server Properties" (located under Instance Properties at the bottom of the OC4J_Wireless page) to invoke the Server Properties page. A page with command-line options appears which includes an editable field for Java Options which you use to set the heap size.

  6. Use the Java Options field to set the heap size.

  7. Remove the option -noclassgc.

  8. Click Apply.

    See Also:

    "Setting the JVM Heap Size for OC4J Processes" section in the Oracle9i Application Server Performance Guide.

2.1.12 Ulimit and Swap File Settings

Oracle Corporation recommends setting the following ulimit parameters before installation:

Parameter Recommended Value

time

unlimited

file

unlimited

data

1048576

stack

32768

memory

2045680

coredump

unlimited

nofiles

4096

vmemory

4194304

On Linux, Oracle Corporation recommends setting the swap file size to 3 times the size of RAM before installation.

2.1.13 Preinstallation Packages for Linux Intel

Install the ksh package if you have not already installed it on your machine. Oracle Corporation recommends installing one of the following ksh packages:

Operating System Recommended Package

SuSE SLES7

pdksh-5.2.14-206

Red Hat AS

pdksh-5.2.14-13

2.1.14 Installing on Red Hat Linux

If you are installing Oracle9iAS on Red Hat Linux, make sure to

If either of these requirements above are not satisfied, relinking will fail.

Also, create a link from the /sbin/fuser file to /bin/fuser. This is required to succesfully detect whether Oracle Enterprise Manager is running during second and subsequent installations on the same machine.

2.1.15 Using Oracle Internet File System on Red Hat Linux

For Oracle 9iFS release 9.0.2 to work on Red Hat AS, you need to apply the patch for bug 2037255 to the backend database. This patch is available at:

http://metalink.oracle.com

2.1.16 Default Port Number for Oracle Internet Directory on Linux

On Linux, port number 389 is reserved in the /etc/services file. If you want Oracle9iAS to install using the default port number for Oracle Internet Directory, delete the entries in the /etc/services file.


Note:

You must remove all lines containing the port number 389 from the /etc/services file if you want to use that port number. Attempting to comment out lines containing 389 does not free the port.


2.1.17 Oracle Universal Installer on Linux

The Oracle Universal Installer fails on Linux if you try to perform multiple installations or deinstallations from the same Oracle Universal Installer session. If you encounter this problem, restart Oracle Universal Installer.

2.1.18 Installing on HP 9000 Series HP-UX

If you are installing on HP 9000 Series HP-UX, you must manually create some symbolic links before performing the installation. This is due to a known HP-UX problem, Doc. ID. KBRC00003627. To create the required links:

  1. Log in as root.

  2. Change to the /usr/lib directory:

    # cd /usr/lib
    
    
    
  3. Create the required links:

    # ln -s /usr/lib/libX11.3 libX11.sl
    # ln -s /usr/lib/libXIE.2 libXIE.sl
    # ln -s /usr/lib/libXext.3 libXext.sl
    # ln -s /usr/lib/libXhp11.3 libXhp11.sl
    # ln -s /usr/lib/libXi.3 libXi.sl
    # ln -s /usr/lib/libXm.4 libXm.sl
    # ln -s /usr/lib/libXp.2 libXp.sl
    # ln -s /usr/lib/libXt.3 libXt.sl
    # ln -s /usr/lib/libXtst.2 libXtst.sl
    
    

2.2 Postinstallation Issues

This section covers the following postinstallation issues:

2.2.1 DISPLAY Environment Variable is Set to localhost:0

The installation sets the DISPLAY variable in opmn.xml to localhost:0 by default. If your machine is not equipped with a graphics card, you need to set the variable in opmn.xml to point to a virtual frame buffer such as X Virtual Frame Buffer (XVFB) or Virtual Network Computing (VNC). Refer to Chapter 3 of the Oracle9i Application Server Installation Guide for instructions.


Note:

This information supersedes similar information in the component release notes.


2.3 Deinstallation Issues

There are no known issues associated with deinstallation.

2.4 Reinstallation Issues

There are no known issues associated with reinstallation.

2.5 Migration Issues

This section covers the following migration issues:

2.5.1 Kernel Mode Restriction on IBM AIX 5L-based Systems

If you are migrating from Oracle9i Application Server Release 1 (1.0.2.2.x) to Release 2 (9.0.2.0.1) on IBM AIX 5L, install Release 2 (9.0.2.0.1) in 32-bit kernel mode. You may change the kernel mode to 64-bit after the migration is complete.

Release 1 (1.0.2.2.x) is supported only in 32-bit kernel mode, whereas Release 2 (9.0.2.0.1) is supported both in the 32-bit and 64-bit kernel mode of IBM AIX 5L-based systems.


Go to previous page Go to next page
Oracle
Copyright © 2002, 2003 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Table Of Contents
Contents