Sun Java System Application Server 9.1 Installation Guide

Application Server 9.1 with Java ES 5 Update 1

If you are using the Sun Java System Application Server 9.1 distributed as an optional download with the Java Enterprise System 5 Update 1 (Java ES 5 Update 1) release, use the following procedure:

  1. Install Sun Java System Application Server 9.1. For instructions on how to install Application Server 9.1, see Installing Application Server 9.1.

  2. After the installation is complete, start the domain.

    On Solaris or Linux, Application Server 9.1 installer detects earlier versions of Application Server or other Java ES Components installed in native package format and automatically performs the upgrade of the binaries.

  3. Start the Java ES 5 Update 1 installation.

The Java ES Update 1 installer could report that conflict were detected in Application Server components. Ignore these conflict messages and proceed with the installation.

Java ES 5 Update 1 installer validates the Application Server installation and then installs the selected Java ES components.


Note –

Application Server 9.1 is not supported with Java ES 5 and needs the Java ES 5 Update 1 Portal Server. Portal Server for Java ES 5 Update 1 is not supported on Windows.

If you run into problems with using the Portal Server database while using Application Server 9.1 with Java ES 5 Update 1 Portal Server, see the Portal Database Not Found After Java DB Restart in the Java ES 5 Update 1 Installation Guide.


ProcedureTo Perform a Cleanup after Partial Installation

This procedure describes how to perform a cleanup on your machine after a partial, failed installation of the package-based Application Server 9.1 distribution. You can use this procedure for preparing your machine for installing Application Server.

  1. Remove the partly installed Application Server by running the following commands:

    On Solaris:

    cd /var/sadm/pkg

    ls -ltr

    pkgrm <Application Server packages>

    On Linux:

    rpm -qa|grep -i sun

    rpm -e <Application Server rpm>

  2. If you have removed packages manually, you need to delete the correspondent entries from the productregistry file or delete the productregistry file.

    The location of productregistry file: /var/sadm/install directory on Solaris, /var/tmp/ directory on Linux.

  3. Kill any running Application Server processes.

  4. Remove the Application Server installation directory.

ProcedureTo Configure Registry Server with Application Server 9.1

Before You Begin

If you are using Application Server 9.1 with Java ES 5 Update 1, you need to install Registry Server manually from the Java ES 5 Update 1 distribution directory from <JavaES_ditribution_dir>/<OS>/Products/registry-svr/Packages directory.

The following procedure describes how to Configure Registry Server from Java ES 5 Update 1 to work with Application Server 9.1.

  1. Run the following command:

    cd <registry_server_install_dir>/install

    On Solaris, <registry_server_install_dir> is /opt/SUNWsrvc-registry, by default. On Linux, the default install location is /opt/sun/srvc-registry.

  2. Run the following command:

    <Ant-base_dir>/ant -f build-install.xml -Dinstall.properties=./install.properties install

    Where <Ant-base_dir> is /usr/sfw/bin on Solaris and /opt/sun/share/bin on Linux.

  3. Run the following command:

    <Ant-base_dir>/ant -f build-install.xml appserver.deploy.as9

  4. Run the following command:

    <Ant-base_dir>/ant -f build-install.xml appserver.domain.stop

  5. Run the following command:

    <Ant-base_dir>/ant -f build-install.xml appserver.domain.start