Previous Topic: Step 3: Copying JDBC JAR Files to Your Application ServerNext Topic: Deploying Administration Console


Step 4: (Mandatory for Oracle WebLogic 10.1) Creating Enterprise Archive Files

Most application servers enable you to bundle related JARs and WARs into a single enterprise application (or archive). As a result, all related JARs or WARs can be deployed together, and can be loaded by a class loader. Such an archive also contains an application.xml file, which is generated automatically and describes how to deploy each bundled module.

By default, WARs are provided to deploy UDS and Administration Console. However, you can also change the format of these files to EAR and then deploy the EAR files.

As discussed in the following sections, you can either generate separate EAR files for both UDS and Administration Console or you can generate a single EAR file that contains both the web archives.

Generating Separate EAR Files

To create a separate EAR files for the UDS and Administration Console:

  1. Open the Command Prompt window.
  2. Navigate to the install_location/arcot/tools/common/bundlemanager/ directory.
  3. To create the EAR file, run the following command:
    java -jar bundle-manager.jar -ear <filename.ear> -warList <filename.war>
    

    The preceding command generates individual EAR files that are available at:

    install_location/arcot/java/webapps/
    

Generating a Single EAR File

To create a single EAR file that contains UDS and Administration Console Web archives:

  1. Open the Command Prompt window.
  2. Navigate to the <install_location>/arcot/tools/common/bundlemanager/ directory.
  3. To create the EAR file, run the following command:
    java -jar bundle-manager.jar -ear <filename.ear> -warList arcotadmin.war arcotuds.war
    

    The preceding command generates a single EAR file that is available at:

    install_location/arcot/java/webapps/