This section describes how to perform an upgrade of Application Server from Java ES version 4 to Java ES version 5. This section covers the following topics:
All Java ES components on a computer system and in a computing environment should be upgraded to Java ES version 5.
Type the following command.
ApplicationServer-base\bin\asadmin.bat version
The outputs that indicate the Application Server version are:
Sun Java Enterprise System Application Server Enterprise Edition 8.2
Sun Java Enterprise System Application Server Enterprise Edition 8.1_02
Stop all running node agents.
ApplicationServer-base\bin\asadmin.bat stop-node-agent
Stop all domains.
ApplicationServer-base\bin\asadmin.bat stop-domain
Stop the pointbase database server if one is installed and running.
ApplicationServer-base\pointbase\tools\stopserver.sh
Back up Application Server domains.
Create a directory outside the Application Server installation directories and back up the content of the domains directory in this new directory. The default location for the Java ES 4 domains directory is ApplicationServer-base\domains.
Back up Application Server node agents.
Create a directory outside the Application Server installation directories and back up the content of the nodeagents directory in this new directory. The default location for the Java ES 4 nodeagents directory is ApplicationServer-base\nodeagents.
Back up pointbase binaries.
Create a directory outside the Application Server installation directories and back up the content of the pointbase directory in this new directory. The default location for the Java ES 4 pointbase directory is ApplicationServer-base\pointbase.
Back up pointbase data files.
Create a directory outside the Application Server installation directories and back up the pointbase data files in this new directory. The default location for the Java ES 4 pointbase data files is: ApplicationServer-base\pointbase.
Back up the Application Server configuration file.
The default location for Application Server configuration file is ApplicationServer-base\config\asenv.conf.
Back up the sample configuration file.
The default location for sample configuration file is ApplicationServer-base\samples\common.properties.
Obtain Application Server administrator user ID and password for your currently installed version.
Shut down all J2EE components running in an Application Server instance before upgrading the instance. However, if load balancing provides for high availability or scalability, this requirement can be relaxed.
Shut down all instances of Application Server running on a single computer (all corresponding to the same installed Application Server image.
Back up all domain, node agent, and configuration data.
In multiple node deployments, perform the upgrade procedure on each node or computer that hosts Application Server instances.
Install Java ES 5 Application Server with the Configure Automatically During Installation option.
The new installed domain is started automatically.
Stop the domain.
You can also delete the domain created under new installation directory.
Type the following command.
ApplicationServer-base\bin\asadmin.bat version
The outputs that indicate the Application Server version are:
Sun Java Enterprise System Application Server Enterprise Edition 8.2
Sun Java Enterprise System Application Server Enterprise Edition 8.1_02
To verify a successful upgrade, you need to perform the following post-upgrade tasks:
Restore Application Server domains.
Restore Application Server node agents.
Restore pointbase binaries.
Restore pointbase data files.
Restore the configuration settings from the Java ES 4 Application Server configuration file.
Ensure that the new entries from the Java ES 5 configuration file are retained in this file.
Restore the configuration settings from the Java ES 4 sample configuration file.
Ensure that the new entries from the Java ES 5 sample configuration file are retained in this file.
Start the restored Java ES 4 Application Server domains.
ApplicationServer-base\bin\asadmin.bat start-domain --user userName --domaindir JES4-Domain-location domainName
Check for the deployed applications.
Check for the configuration settings.
Start the restored Java ES 4 node agents.
ApplicationServer-base\bin\asadmin.bat start-node-agent --user userName --agentdir JES4-node-agent-location nodeAgentName
Start the restored Java ES 4 Application Server domains.
ApplicationServer-base\pointbase\tools\startpointbase.sh
Verify that the data files are accessible to the applications.