JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Upgrading to Oracle Java CAPS 6.3     Java CAPS Documentation
search filter icon
search icon

Document Information

Upgrading to Java CAPS 6.3

Overview of Upgrading to Java CAPS 6.3

Upgrading From Release 5.0.5 - 5.1.3 to Release 6.3

Exporting and Importing Projects and Environments

To Use Enterprise Designer to Export Projects and Environments

To Use a Command Line to Export Projects and Environments

Completing the Upgrade From Java CAPS 5.x

To Complete the Upgrade

Upgrading From Release 6.x to Release 6.3

Upgrading the Repository

To Upgrade the Repository

Completing the Upgrade From Java CAPS 6.x

To Complete the Upgrade

Upgrading From Release 5.0.5 - 5.1.3 to Release 6.3

The process to upgrade from release 5.0.5 and earlier to release 6.3 has changed considerably. With release 5.1.3 and earlier, you performed an in-place installation. Now, you install Java CAPS 6.3 into a new directory, export 5.1.3 and earlier Projects and Environments and then import them into release 6.3 using the NetBeans IDE.

There are two ways to export your old Projects and Environments and create an external file:

Perform the following steps to upgrade from a 5.x release of Java CAPS to release 6.3.


Tip - These steps include installing Java CAPS. See one of the following topics for complete instructions on how to install:

Before beginning an installation, ensure that you are familiar with the contents of Planning for Oracle Java CAPS 6.3 Installation .

Note that a default Java CAPS installation does not install the complete set of products that were installed in previous versions. You might need to manually install some additional components, such as Adapters or other add-ons.


Exporting and Importing Projects and Environments

Perform one of the following procedures to export existing Projects and import them into the new Java CAPS environment.


Tip - When exporting a Project, note the following:


To Use Enterprise Designer to Export Projects and Environments

Before You Begin

Before beginning the process of exporting Projects and Environments from prior releases of Java CAPS 5.1.0–5.1.3 or ICAN Suite 5.0.5, it is recommended that you acquaint yourself with the steps to complete the task in the appropriate version of the eGate Integrator User's Guide.

  1. Install Java CAPS 6.3.

    See the notes under Upgrading From Release 5.0.5 - 5.1.3 to Release 6.3 for links to more information.

  2. If you are using any components that are not included in the default installation, reinstall them now.

    This includes certain adapters and add-ons, certain core components like Oracle Java CAPS Master Index, and so on.


    Tip - You can view a list of installed products for Java CAPS 6.3 on the Suite Uploader, which can be accessed from a web browser if the Repository is started. The URL is http://host-name:port-number.. The default port number is 12000.


  3. Export a Project or Environment from releases 5.0.5 through 5.1.3 using Enterprise Designer and create an external file to import into Release 6.3.

    Record the settings for your Projects and Environments before exporting them. You will need this information when you reset the properties.

    1. From the Repository or Project context menu, select Export Project to display the Export Manager dialog.

      Note - If you do not have any existing Environments in your Repository, the Environment panes are empty.


    2. Highlight the desired Projects or Environments in the displayed lists.
    3. Click the appropriate Arrow button to transfer the highlighted items to the Selected Projects or Selected Environments panes.
    4. When the desired Project appears in the Selected Projects pane, click Browse.

      The Save As dialog box appears. A file name is already defined by adding the ZIP extension to the Project name.


      Note - You can change the export file name.


    5. To enter the file name click Save As.

      The Export Manager dialog box reappears.

    6. Select the export destination and then click Export to export the Project file.

      This process may take a few minutes. The Export Status message box appears after the file has been exported successfully.

    7. To close the message box click OK.
  4. Import the Java CAPS Project or Environment into the NetBeans IDE.
    1. Start the NetBeans IDE.
    2. On the menu bar, select Tools, point to CAPS Repository, and then select Import Project.

      A warning dialog box appears with a reminder to save any unsaved changes.

    3. Click No if you need to save or check in any changes; otherwise, click Yes to continue with the process.

      The Import Manager dialog box appears.

    4. In the From ZIP file field, browse to the location of the export ZIP file you created and then select the file.
    5. If you want the Project to appear as top level in the Projects pane in the NetBeans IDE, select As Top-Level under the Destination Project field drop down list.
    6. When you have made all your selections on the Import Manager dialog box, click Import.
    7. When the Import Status message appears, click OK.
    8. Wait until the Repository completes refreshing, and then close the Import Manager dialog box.

      The Project appears in the Projects Window.

To Use a Command Line to Export Projects and Environments

Before You Begin

You can export a Project, an Environment, or a Project and an Environment using a command-line script. Before beginning the process of exporting Projects and Environments from prior releases of Java CAPS 5.1.0–5.1.3 or ICAN Suite 5.0.5, it is recommended that you acquaint yourself with the steps to complete the task in the appropriate eGate Integrator User's Guide.

Location of Script File

JavaCAPS_install_dir\repository\util\exportProject.bat

or

JavaCAPS_install_dir/repository/util/exportProject.sh

Command Syntax

exportProject username password branch_name export_file project_name environment_name

where:

  1. Install Java CAPS 6.

    See the notes under Upgrading From Release 5.0.5 - 5.1.3 to Release 6.3 for links to more information.

  2. If you are using any components that are not included in the default installation, reinstall them now.

    This includes certain adapters and add-ons, certain core components like Oracle Java CAPS Master Index, and so on.


    Tip - You can view a list of installed products for Java CAPS 6.3 on the Suite Uploader, which can be accessed from a web browser if the Repository is started. The URL is http://host-name:port-number.. The default port number is 12000.


  3. Export a Project using the export script.
    1. Open a command prompt.
    2. Navigate to JavaCAPS_install_dir\repository\util.
    3. Enter the following command:

      exportProject username password branch_name export_file project_name environment_name

      For example, to save the Project myProject to the file c:\project1export.zip with the default login, the command would be similar to the following:

      exportProject admin adminadmin C:\JavaCAPS5\project1export.zip myProject.

  4. Import the Java CAPS Project or Environment into the NetBeans IDE.
    1. Start the NetBeans IDE.
    2. On the menu bar, select Tools, point to CAPS Repository, and then select Import Project.

      A warning dialog box appears with a reminder to save any unsaved changes.

    3. Click No if you need to save or check in any changes; otherwise, click Yes to continue with the process.

      The Import Manager dialog box appears.

    4. In the From ZIP file field, browse to the location of the export ZIP file you created and then select the file.
    5. If you want the Project to appear as top level in the Projects pane in the NetBeans IDE, select As Top-Level under the Destination Project field drop down list.
    6. When you have made all your selections on the Import Manager dialog box, click Import.
    7. When the Import Status message appears, click OK.
    8. Wait until the Repository completes refreshing, and then close the Import Manager dialog box.

      The Project appears in the Projects Window.


    Note - When importing a Project, note that:

    • Existing Projects are not affected by an imported Project.

    • During import, if a Project with the same name as the Project being imported already exists in the target Repository, an error message informs you that the existing file will not be overwritten.

    • References are validated during import.

    • Project deployment objects are not imported.


  5. After you import a Project or Environment, verify the configuration properties defined in the Connectivity Map and the Environment.

    Caution

    Caution - Due to configuration changes from version 5.0.x, certain properties might be reset to their default value. Specifically, you should verify file names and directories defined for Adapters, but other properties might have changed as well. For Projects containing MSMQ Adapters, be sure to verify both sets of properties because some properties were changed and new properties were added since version 5.1.3.


  6. Continue to Completing the Upgrade From Java CAPS 5.x.

Completing the Upgrade From Java CAPS 5.x

Once you have imported all previous Projects and Environment into Java CAPS 6.3, you need to redeploy and in some cases reconfigure the Projects.

To Complete the Upgrade

  1. Complete the steps under Exporting and Importing Projects and Environments.

    Caution

    Caution - Be sure to verify the Adapter properties in the Connectivity Maps and Environments.


  2. Recreate any connection pools using the GlassFish Admin Console.
  3. Redefine any required security attributes using the GlassFish Admin Console.
  4. Reinstall the required plugins in Enterprise Manager.
  5. If you are migrating a JMS-based Project and are using the same Environment as before, you need to update the JMS URL defined in the Environment. The new default URL is stcms://localhost:18007.
  6. Build and deploy all migrated Projects.