2 Roadmap for Upgrading Your Application Environment

Use the upgrade roadmap to identify the procedure required to upgrade your Oracle WebLogic Server application environment.

An upgrade of WebLogic application environment is complete when you upgrade, configure, and deploy your WebLogic application environments.

This chapter includes the following sections:

Plan for an Upgrade

Before upgrading your WebLogic application environment, plan the upgrade path. Planning the upgrade path includes generating an inventory of the application environment, verifying the supported system configurations, and reviewing the compatibility information of application environment.

To ensure that your plan addresses all the aspects of upgrading that are necessary for your environment, complete the following steps:

Step 1: Inventory the Application Environment

Generate an inventory of the application environment by identifying the following components:

  • Administration Server and the computer on which it resides

  • Managed Servers and the computer(s) on which they reside

  • Location of the applications (including all external client applications)

  • External resources, for example:

    • Databases used to store persisted and application data

    • Firewalls

    • Load balancers

  • Tools, scripts, templates, and source code used for automating the tasks required to create the application environment

You can view a sample application environment in Overview of the Upgrade Process.

Step 2: Verify Supported Configuration Information

Supported configurations (for example, JDK versions, operating system versions, web server versions, and database versions) have changed for WebLogic Server 15.1.1.0.0. You may be required to upgrade your environments to the supported versions of these and other products.

For information about supported configurations, see Oracle Fusion Middleware Supported System Configurations on Oracle Technology Network (OTN).

For databases, note that:

  • The evaluation database available from the installation program that is provided for use by the sample applications and code examples, and as a demonstration database, is Derby. Derby is an open source relational database management system based on Java, JDBC, and SQL standards. For more information about Derby, see http://db.apache.org/derby/.

  • The Oracle Thin Drivers are included as part of the WebLogic Server installation.

  • If you are using an Oracle OCI database driver and want to change to use a Thin database driver, you must remove the server property (as illustrated below) from the generated JDBC module. For example:

    <property> 
      <name>server</name> 
      <value>servername</value> 
    </property> 
    
  • The Oracle Thin Drivers are installed with WebLogic Server and are ready for use. For more information about using these drivers, see JDBC Drivers Installed with WebLogic Server in Administering JDBC Data Sources for Oracle WebLogic Server.

Step 3: Review the Compatibility Information

Existing WebLogic Server applications must be modified to run in the new WebLogic Server 15.1.1.0.0 application environment. Oracle recommends using Rewrite WebLogic recipes to apply the changes required for migrating applications to WebLogic 15.1.1.0.0 and Jakarta 9.1. For more information about using Oracle Rewrite recipes for your WebLogic applications, see Upgrade Your Applications.

For detailed compatibility and interoperability information, see WebLogic Server 15.1.1.0.0 Compatibility with Previous Releases.

Review These Upgrade Considerations

Using the information gathered in the preceding steps, create a plan for upgrading your application environment. Identify the scope and timing of the upgrade process, based on your business needs.

Note the following points:

  • Oracle does not recommend upgrading an application environment that is currently deployed in production. Instead, you should upgrade your application environment while it is under development or test and run standard procedures for quality assurance and performance tuning before promoting the upgraded environment to production.

    Note:

    In WebLogic Server 15.1.1.0.0, upgrading application environments requires downtime. In other words, you must undeploy your applications and shut down the servers in the domain. After you upgrade your applications and the domain to 15.1.1.0.0, then you start the domain and redeploy the upgraded applications. For detailed instructions, see the Upgrade Process Overview.
  • If you start a WebLogic Server after performing a significant upgrade, then the WebLogic Server, the products layered on top of the WebLogic Server, and/or your applications can make irreversible changes to existing data files and database tables. For example, the default file stores may change such that the older versions will no longer be able to load them. Significant upgrade includes upgrade from the major versions, minor versions, and patch sets, or any specific patch/application that changes the files or database formats.

  • If your application is complex, for example, if it includes multiple clustered domains and a large number of deployed applications, you may choose to upgrade the components of the application environment in stages.

  • You may consider limiting the number of WebLogic Server versions used in any single application environment to minimize the diversity and cost of systems being administered.

  • If you plan to use the RDBMS security store in a WebLogic domain, Oracle recommends that you create a new domain in which the RDBMS security store is configured. If you have an existing domain in which you want to use the RDBMS security store, you should create the new domain, and then migrate your security realm to it. Oracle does not recommend "retrofitting" the RDBMS security store to an existing domain. See Managing the RDBMS Security Store in Administering Security for Oracle WebLogic Server.

Upgrade Process Overview

Upgrading to WebLogic Server 15.1.1.0.0 includes the following main steps.

Note:

Before you begin: review the Oracle Fusion Middleware Supported Systems Configurations page for required JDK versions, operating system versions, web server versions, and database versions.

Perform the following main steps:

Prepare for the Upgrade

In 15.1.1.0.0, all existing WebLogic Server applications must be modified to run in the new WebLogic Server application environment. You must undeploy your applications from the domain and upgrade them. Also, shut down all running server instances and back up the application components in your domain.

Upgrade Your Applications

To simplify upgrading your applications, Oracle recommends using Rewrite WebLogic recipes to apply the changes required for migrating applications to WebLogic Server 15.1.1.0.0 and Jakarta EE 9.1, such as to:
  • Transform applications from javax to the jakarta namespace.
  • Transform deployment descriptors with Jakarta schema.
  • Upgrade applications to use the latest supported JDK.
  • Identify deprecated or removed WebLogic Server and Java APIs.
  • Upgrade WebLogic Maven properties versions.
  • Upgrade Spring Framework 5.x applications to Spring Framework 6.2.x.

Note:

Use Rewrite WebLogic recipes to migrate WebLogic Server applications to newer versions of WebLogic Server, Java, Jakarta EE, and related versions of Jakarta Server Faces and Spring Framework. These recipes do not address any other third-party dependencies. For all other third-party dependencies, you must find or create an additional recipe to do the migration, or make manual code changes after the migration.

To learn all about WebLogic Server application upgrade tooling, see the Documentation. To jump start your hands-on learning, see the Examples and Tutorials.

Shut Down Servers in the Application Environment

Before you upgrade, you must shut down all servers in the application environment.

Back Up the Application Environment

Oracle recommends that before upgrading your application environment, you manually back up the components defined in Table 2-1. You should back up the relevant information on all machines in the domain.

Table 2-1 Recommendations for Backing Up the Application Environment

Component Recommendations

Domain directory

Back up the Administration Server and any remote Managed Server domain directories that are defined in the application environment.

Note: The Domain Upgrade Wizard, which automatically backed up the domain being upgraded, is no longer provided with WebLogic Server. You must manually back up your domain directory prior to upgrading the domain.

Applications and application-persisted data

Back up any applications and data that reside outside of the domain directory.

Log files

If it is important for you to maintain a record of all messages that are logged, back up the log files. As log files can be large, you may want to delete them to conserve disk space if it is not important to retain them.

Install Required Oracle Products

Before upgrading your application environment, you must install the Oracle WebLogic Server 15.1.1.0.0 products that you require on each computer in the domain. For more information about installing Oracle WebLogic products, see Installing and Configuring Oracle WebLogic Server and Coherence.

Set Up the Environment

To set up the environment for an upgrade:

  1. Open an MS-DOS command prompt window (on Windows) or a command shell (on UNIX).
  2. Add the WebLogic Server classes to the CLASSPATH environment variable and WL_HOME\server\bin to the PATH environment variable, where WL_HOME refers to the top-level installation directory for WebLogic Server.

    You can perform this step by running the WL_HOME\server\bin\setWLSEnv script.

    Note:

    On UNIX operating systems, the setWLSEnv.sh command does not set the environment variables in all command shells. Oracle recommends that you execute this command using the Korn shell or bash shell.

Upgrade the Application Environment

To upgrade your application environment to the latest version of WebLogic Server, back up the domain, upgrade the Administration Server host machine, configure the Node Manager, and upgrade each Managed Server instance.

The following table summarizes the steps for updating an application environment. Each step that is performed must be done on every machine in the domain and in the given sequence shown in this table.

Table 2-2 Procedure for Upgrading an Application Environment

Task Description

Back up the domain

Before upgrading the domain on the Administration Server, ensure to backup the domain. See Backing Up the Domain.

Upgrade WebLogic domain (Administration Server)

Run the Reconfiguration Wizard to upgrade the WebLogic domain on the computer that hosts the Administration Server.

Notes: Oracle recommends that you completely upgrade the domain on the Administration Server before upgrading the domain on the Managed Servers.

Depending on the Node Manager configuration of the original domain and the desired Node Manager configuration of the upgraded domain, you may be able to upgrade Node Manager by using the Reconfiguration Wizard. See Determining Node Manager Upgrade Procedure.

Complete Node Manager configuration

This is needed only if your existing domain is using a per host Node Manager configuration and you want to continue using a per domain Node Manager in the upgraded domain. See Completing the Node Manager Configuration.

Back up the domain on each Managed Server.

Prior to upgrading the domain on a Managed Server, make a backup copy of the domain.

Upgrade WebLogic domain (remote Managed Servers)

Use the pack and unpack commands or the WLST writeTemplate() command in online mode to upgrade the WebLogic domain on every computer that hosts any Managed Servers.

Note:
  • The unpack command works only with the same version used to pack the WebLogic domain.

  • Managed Servers that reside on the same computer as the Administration Server do not require additional upgrade steps.

Next Steps

Follow the remaining steps to upgrade the domain and deploy your upgraded applications to WebLogic Server 15.1.1.0.0.