BEA Logo BEA WLI Release 2.1

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   WLI Doc Home   |   Migrating to WebLogic Integration 2.1   |   Previous Topic   |   Next Topic   |   Contents   |   View as PDF

Migrating from WebLogic Integration 2.0 (SP 2, 3 and 4) to WebLogic Integration 2.1

 

This section describes the procedure for migrating from BEA WebLogic Integration 2.0 service packs 2, 3, and 4 to BEA WebLogic Integration 2.1. It contains information on the following subjects:

 


Overview

If you are currently running WebLogic Integration 2.0 Service Pack 2, 3 or 4, you can migrate to WebLogic Integration 2.1 by following the migration steps described in Migrating Using the WebLogic Integration Database Configuration Wizard in Graphical Mode or Running the Migration Script Manually.

The migration steps described Migrating Using the WebLogic Integration Database Configuration Wizard in Graphical Mode or Running the Migration Script Manually can also be used to complete the overall migration processes described in Migrating from WebLogic Process Integrator 1.2/1.2.1, and Migrating from WebLogic Collaborate 1.0/1.0.1, or Migrating from WebLogic Integration 2.0 (No SP or SP 1) to WebLogic Integration 2.1. For example, when migrating from WebLogic Integration 2.0 with no service pack or with service pack 1, you must first migrate to WebLogic Integration 2.0 service pack 4 and then migrate to WebLogic Integration 2.1.

 


Before You Begin

Before following the migration steps described in Migrating Using the WebLogic Integration Database Configuration Wizard in Graphical Mode or Running the Migration Script Manually, you must consider the following before proceeding:

Domain Migration

The migration steps described in Migrating Using the WebLogic Integration Database Configuration Wizard in Graphical Mode and Running the Migration Script Manually will only migrate the WebLogic Integration repository information stored in database tables. These steps will not migrate your application WebLogic Server domain information.

To migrate your application WebLogic Server domain information complete the following steps:

  1. Migrate the WebLogic Integration 2.0 repository information into one of the preconfigured WebLogic Integration 2.1 domains as described in Migrating Using the WebLogic Integration Database Configuration Wizard in Graphical Mode and Running the Migration Script Manually. For more information on domains see "WebLogic Server Domains" in Getting Started in Starting, Stopping, and Customizing BEA WebLogic Integration.

  2. Copy any application specific entries from your existing WebLogic Integration 2.0 domain's config.xml file to the WebLogic Integration 2.1 domain's config.xml file.

    WebLogic Integration 2.1 comes with four preconfigured domains: bpmdomain, eaidomain, samples, and wlidomain.The config.xml files for these domains are located in the WLI_HOME/config/DOMAIN_NAME directory, where DOMAIN_NAME is either bpmdomain, eaidomain, samples, or wlidomain. For example, the config.xml file for the wlidomain is located in the WLI_HOME/config/wlidomain directory.

Remote Database Server

If the machine where WebLogic Integration 2.1 is installed and the migration utility will be run is different from the machine which hosts the database server with the WebLogic Integration repository, the following prerequisite must be satisfied before running the migration utility:

Security File Realms

Before beginning either the graphical or manual migration processes, you need to merge the WebLogic Integration 2.0 filerealm.properties file with the filerealm.properties file for WebLogic Integration 2.1 in WLI_HOME/config/DOMAIN_NAME. This procedure is required only if you are using the file realm for security.

 


Migrating Using the WebLogic Integration Database Configuration Wizard in Graphical Mode

To migrate to WebLogic Integration 2.1 using the WebLogic Integration database configuration wizard in graphical mode, complete the following steps:

  1. Start the WebLogic Integration database configuration wizard by completing the procedure appropriate for your platform:

  2. Select Migrate Database and select Next.

    The Select Database dialog box appears.



     

  3. Select your database (Oracle, Microsoft SQL Server, or Sybase) and select Next.

    Note: Migration is not available for Cloudscape.

    The Configure DB_TYPE Database dialog box appears (DB_TYPE is the database you selected, in this example Microsoft SQL).



     

  4. Depending upon the choice of the database, you will be prompted for database related information; for example, host, port, user, password, service name. Fill out this dialog box and select Next.

    The Locate Database Client dialog box appears.



     

  5. If necessary, select Browse and locate the directory containing the selected database client installation directory and select Next.

    The database found confirmation box appears.



     

    Note: This confirmation box appears immediately after step 6, and overlays the Locate Database Client screen, if you do not need to locate your client installation directory.

  6. Select OK and then select Next on the Locate Database Client screen.

    The installation process begins and a BEA WebLogic Integration 2.1 splash screen appears.



     

    This dialog box stays visible until the progress meter in the lower right corner is completely filled. Finally, the Changes Successful dialog box appears.



     

  7. Select Finish to end the migration process.

This completes the WebLogic Integration 2.0 to WebLogic Integration 2.1 migration process.

 


Running the Migration Script Manually

Windows

Run the migration script manually on Windows, by completing the following steps:

  1. Go to the bin directory in your WebLogic Integration installation directory. For example:
    cd c:\bea\wlintegration2.1\bin

  2. Select one of the preconfigured WebLogic Integration 2.1 domains. For more information see "WebLogic Server Domains" in Getting Started in Starting, Stopping, and Customizing BEA WebLogic Integration.

  3. Run the setdomain script with the domain selected in the previous step with the appropriate path based on your installation. For example:
    setdomain c:\bea\wlintegration2.1\config\wlidomain

  4. Run the switchdb script with the appropriate database for the domain specified in the previous step. Valid options are oracle or sqlserver. The database specified here should match the database selected for the domain during installation.The database selected during installation for your production environment sets the default database for the bpmdomain, eaidomain, and wlidomain domains. The database selected during installation for your sample environment sets the default database for the samples domain. For example, if during the installation you select the Oracle database for production domain, and now you are migrating to the WebLogic Integration 2.1 wlidomain domain, then specify the oracle option for switchdb command:
    switchdb oracle

  5. Run the migration script to migrate the WebLogic Integration 2.0 (SP2, SP3, or SP4) repository data to the WebLogic Integration 2.1 domain:
    migratedb

UNIX

Run the migration script manually on UNIX, by completing the following steps:

  1. Go to the WebLogic Integration home's bin directory. For example:
    cd /home/me/bea/wlintegration2.1/bin

  2. Select one of the preconfigured WebLogic Integration 2.1 domains. For more information see "WebLogic Server Domains" in Getting Started in Starting, Stopping, and Customizing BEA WebLogic Integration.

  3. Run the setdomain script with the domain selected in the previous step with the appropriate path based on your installation. For example:
    setdomain /home/me/bea/wlintegration2.1/config/wlidomain

  4. Run the switchdb script with the appropriate database for the domain specified in the previous step. The database specified here should match the database selected for the domain during installation.The database selected installation for your production environment sets the default database for the bpmdomain, eaidomain, and wlidomain domains. The database selected during installation for your sample environment sets the default database for the samples domain. For example, if during the installation you select the Oracle database for production domain, and now you are migrating to the WebLogic Integration 2.1 wlidomain domain, then specifiy the oracle option for switchdb command:
    switchdb oracle

  5. Edit the migrateCommonRep script and remove the -v option from the following line:
    $JAVA_HOME/bin/java $DB_JVMARGS $JAVA_OPTIONS -classpath $WLICP com.bea.eci.migration.Migrate -v $CTLFILE

  6. Edit the migratedb script and remove the .sh from the following line:
    . $WLI_HOME/bin/migrate.sh || exit 1

  7. Run the migration script to migrate the WebLogic Integration 2.0 (SP2, SP3, or SP4) repository data to the WebLogic Integration 2.1 domain:
    migratedb

 

back to top previous page