Sun Java Enterprise System 5 Installer Tutorial for UNIX

Sun Java Enterprise System 5 Installer Tutorial for UNIX

This tutorial introduces the Sun JavaTM Enterprise System (Java ES) installer, the Java ES components, and the key tasks involved with installing Java ES.

Java ES is a collection of server-side product components and shared components that work together to support distributed enterprise applications across a network. All Java ES components are installed using the Java ES installer. Installation happens one host at a time. After you have completed installation on one host, you then install the software on another host if desired.

This tutorial walks you through the basics of installation and assumes you have already downloaded and expanded the software and are ready to run the installer. See the Java ES 5 Installation FAQs for information about getting to this point.

The tutorial does not show all pages in the Java ES installer nor provide all details necessary to perform a successful installation. The goal of this tutorial is to help you become familiar with the installer and the choices you will make during installation. For detailed installation instructions, see the Java ES 5 Installation Guide.

When you install Java ES you perform the following general steps, which correspond to sections in this tutorial:

  1. Start the installer

  2. Choose components for installation

  3. Choose when to configure components

  4. Configure components during installation

  5. Install the software

  6. Complete the installation

This tutorial also contains a Troubleshooting and Resources section.

Start the Installer

Java ES has three installation modes as follows:

This tutorial uses the graphical mode. For more information about the other modes, see the Installation Guide.

To Start the Installer in Graphical Mode

The following procedure uses the ./installer -no command, which enables you to practice with the installer before you perform an actual installation. The -no option runs the installer but does not install the software and is available in all installation modes.

  1. As superuser, navigate to the directory in which you downloaded and expanded the software. For example:

    cd /java_es_5/Solaris_sparc

  2. Run the installer with the following command:

    ./installer -no


    Tip –

    To perform an actual installation, use ./installer for the command in step 2.


After you start the installer the Welcome page is displayed and provides the URL for Java ES system documentation. Click the link and bookmark the page for future reference (requires an Internet connection).

Screen capture of the Welcome page.

Buttons on pages in the installer are used as follows:

Click Next on the Welcome page to display the Software License Agreement.

Screen capture of the Software License Agreement page.

Take the desired action:

After you accept the agreement the Java ES installer surveys the software on your host and displays the Choose Software Components page (this process can take a few seconds).

Choose Components for Installation

Java ES consists of product components (with subcomponents) and shared components. Product components and their subcomponents can be selected for installation in the Java ES installer. Shared components support product components and are selected automatically when a product component that depends on them is selected. Product components are also selected automatically if another product component requires their services. To better understand component dependencies, see Are There Component Interdependencies that I Need to Know About?

The Choose Software Components page lists the product components and subcomponents you can select to install. To see subcomponents, click the symbol to the left of a product component check box, as shown for Portal Server Secure Remote Access in the following screen capture.

Screen capture of the Choose Software Components page.

The marks in the check boxes on the Choose Software Components page indicate the following:

Use the buttons and other interface elements on the page to do the following:

For information about dependencies and remote hosts, see Does the Installer Check Dependencies on Remote Components?

When you click Next on the Choose Software Components page and component dependencies have not yet been met, messages tell you what you need to do. Take the appropriate action and then proceed with the installation. Typical issues include such items as a web container is required but is not selected, or required components or subcomponents are not selected. An example advisory message is shown in the following screen capture. For information about third-party web containers supported in Java ES, see How Do I Use a Third-Party Web Container?

Screen capture of the Choose Web Container page.

Upgrading the J2SE SDK

On the SolarisTM Operating System (Solaris OS), after clicking Next on the Choose Software Components page you might see the following page regarding the Java 2 Software Development Kit, Standard Edition (J2SE SDK).

Screen capture of the J2SE SDK Upgrade Required page.

This page is displayed if the installer detects an incompatible system-wide version of the J2SE SDK. Keep the default selection of an automatic upgrade, which brings the version up to date.


Note –

If the installer encounters a higher version of the JDK and one or more JDK packages are missing (for example, the 64–bit JVMTM software), the installer treats this version as incompatible. In that case, when you keep the automatic upgrade option the JDK is downgraded to the version of the JDK required by Java ES.


Component Version Compatibility

If incompatible versions of product components exist on the host on which you are installing the software, you must remove the incompatible components. Product components generally cannot be upgraded by the installer, but there are some exceptions. For detailed information about version compatibility issues, see Does it Matter if Other Java ES Components are Already on My Host?

During installation, the installer automatically installs the required shared components if they are not already installed on the host. If some shared components are already on the host but the versions do not match the Java ES release requirements, the Shared Component Upgrades Required page is displayed, listing the incompatibilities. You cannot proceed in the installer until compatibility issues are resolved.

Screen capture of the Shared Component Upgrades Required
page.

Take the desired action:

After you click Next on the shared components page, the Specify Installation Directories page displays the default installation directories for the selected components.

Screen capture of the Specify Installation Directories
page.

If the default directories are not acceptable, browse for alternate paths and change as needed. Make note of these alternate path names because you must specify the information whenever path names are requested by the installer or a configurator. To see a complete list of default directories and ports, see Default Installation Directories and Ports.

When you click Next, the installer runs a system check to verify that all system requirements are met. This process checks system resources such as disk space, memory, swap space, and patches based on the components you selected. When the installer completes the check, the Verify System Requirements page is displayed and lists the results.

Screen capture of the Verify System Requirements page.

If requirements are not met, messages tell you what you need to do. Take the desired action based on the system check:

When the system check is complete and you are satisfied with the state of the system, click Next.

Choose When to Configure Components

The Choose a Configuration Type page specifies whether you want to configure certain components through the installer during installation or run their configurators at a later time.

Screen capture of the Choose a Configuration Type page.

You have two choices on this page: Configure Now or Configure Later.

Configure Now

Configure Now is selected by default and enables you to configure certain components in the installer during installation. Components that can be configured during installation are as follows:

Components that cannot be configured during installation and must be configured later are as follows:


Note –

Although Sun Cluster software cannot be configured during installation, if you select Configure Now for these components the installer offers you the option of enabling remote support to simplify postinstallation configuration.


When you select Configure Now for components that can be configured during installation, the installer prompts you for configuration information and walks you through several configuration pages for each component. Runnable instances are created and components configured during installation can be started and verified after the installation is complete.

When you select Configure Now for components that cannot be configured during installation, you will be advised as such by a page in the installer. You later create runnable instances by providing configuration values in the configuration wizards or configuration files of the individual components.

Configure Later

If you select Configure Later the installer copies component software files to the host but no configuration is performed. The installer proceeds without further configuration, and no runnable instances are created. You create runnable instances by providing configuration values in the configuration wizards or configuration files of the individual components. All components can be configured after installation.

If you select Configure Later, you proceed to the Ready to Install page. If you select Configure Now, you proceed through configuration pages.

Configure Components During Installation

If you selected more than one component to Configure Now, you first specify administrator information on the Specify Administrator Account Preferences page. If you selected just one component, you skip this page and specify the administrator user ID and password on the Specify Common Server Settings page.

Screen capture of the Specify Administrator Account Preferences
page.

The account preferences page specifies whether you want to use the same administrator account for all product components or provide account information component by component. The result of each choice is as follows:


Note –

Do not use white space or the following symbols for administrator passwords in Java ES: ; & ( ) ! | < > ' " $ ^ \ # / , @ %


When you click Next, the Specify Common Server Settings page is displayed.

In the following screen capture, fields associated with the administrator user ID and administrator password are not displayed because a choice was made on the previous account preferences page to use a single administrator account and password for all components.

Screen capture of the Specify Common Server Settings
page.

Common server settings are parameters used by multiple components. Accept the defaults or use alternate data to answer the installer questions regarding these global fields. Values that you enter on this page appear as default values on subsequent product component configuration pages. Refer to online help or to Common Settings for information about these fields.

Click Next to proceed to the configuration pages for components selected for Configure Now installation. The configuration pages are displayed one by one. The following screen capture shows a typical component configuration page.

Screen capture of a typical component configuration page
(HADB).

Some fields on configuration pages display default values from the Specify Common Server Settings page. If you choose to enter alternate values on the configuration pages instead of accepting the defaults, you must specify the chosen alternate values whenever the item is requested by the installer or a configurator.


Note –

Click the Help button for detailed descriptions of the information requested. This field-specific information is not provided in the instructions in the Installation Guide. Descriptions of all configuration fields are also provided in Configuration Information. Use this information to complete the configuration worksheets before starting an actual installation.


When you click Next on the last configuration page, the Ready to Install page is displayed. If issues exist that prevent you from installing the software, messages tell you what you need to do.

Install the Software

The Ready to Install page lists the components you selected for installation. Although shared components are not explicitly listed, they have already been verified and are installed if they are needed.

Screen capture of the Ready to Install page.

Review the information and proceed as desired:

Screen capture of the Installing page.

The Installing page displays a progress bar and the names of packages as they are installed. Take action if desired:

If the installation is allowed to proceed without stopping or canceling, the installer installs or upgrades shared components and then does the same for product components. The amount of time an installation takes depends on the size and complexities of your installation.

Complete the Installation

If installation is successful, the Installation Complete page is displayed. If installation is unsuccessful, the Installation Failed page is displayed.

Installation Complete

Screen capture of the Installation Complete page.

Take action as desired:

Java ES Reporter

Java ES Reporter is a command-line utility that performs product registration after a successful Java ES installation. The utility starts automatically in the console or terminal window in which you started the installer. You are asked if you want to install Java ES Reporter, and if so, to provide the URL or IP address of a proxy Java ES Reporter will use to access Sun through the Internet. For more information, see How Java ES Reporter Works.

Adding Components After Installation

To install additional components after installation is complete, run the installer again to add them. The installer detects installed components and uses them to satisfy dependencies of components you are adding. Installed product components are shown as shaded and dimmed on the Choose Software Components page. For example, if you installed Access Manager and its required components during one installation session and later decide you want to install Portal Server, the existing instance of Access Manager is used to meet the Portal Server dependency on Access Manager. You are not asked to reinstall Access Manager.

Installation Failed

If installation was unsuccessful, the Installation Failed page is displayed.

Screen capture of the Installation Failed page.

Click View Summary or View Install Log to access information that will help to diagnose the problems. For more information about using Java ES logs for troubleshooting, see Examining Installation Log Files.

Troubleshooting and Resources

For problems specific to installation, see the troubleshooting questions in the Installation FAQs and Troubleshooting in the Installation Guide.

For troubleshooting information that covers a range of Java ES issues and product components, visit the troubleshooting page on the Java ES 5 Big Admin hub.

Other resources will also be helpful as you install Java ES and work with its components. These resources include the following: