Previous Topic: LimitationsNext Topic: Deploy the WAR File


Create the WAR File

Create the war file from CA Service Catalog to deploy it on a custom web server.

Note: The war file that is generated from a computer must be deployed on the same computer. For example, in a clustered set-up,generate the war file on each node, and deploy the war file on the nodes.

Follow these steps:

  1. Click Start, Programs, CA, CA Service Catalog Service Catalog Command Prompt.
  2. (Optional) Run the following command at the command prompt if the custom web server is running on a port other than the port used for installation of CA Service Catalog (typically 8080).
    ant update-usm-host
    

    You are prompted to enter the new port number. Enter the port number of the custom web server.

  3. Run the following command at the command prompt:
    ant create-war
    
  4. Select one of the following options from the list:
    Tomcat

    Creates the war file for Tomcat 6 or 7.

    Jboss

    Creates the war file for JBoss 5.1

    Other

    Do not use this option as it is reserved for future use.

    For Tomcat, the usm.war file is generated in the USM_HOME\war folder.

    USM_HOME is the documentation convention that specifies the local CA Service Catalog installation directory. For 32-bit computers, the default path name is C:\Program Files\CA\Service Catalog. For 64-bit computers, the default path name is C:\Program Files (x86)\CA\Service Catalog for 32-bit installations or C:\Program Files\CA\Service Catalog for 64-bit installations.

    For Jboss, the usm.war folder is created.

  5. (Optional) Change the war file name to reflect the name of the catalog, business unit (tenant), or other meaningful entity, as follows:
    1. In Windows, manually rename the usm.war file, for example, to catalog.war or FinanceBU.war.
    2. Update the file name in the synchronization utility properties file: Specify the new name without the .war extension in the EIAMUser.Context=filename parameter in the syncuputil.properties file. This file resides in the USM_HOME folder.

      For example, if the new file name is FinanceBU.war, then the updated entry is EIAMUser.Context=FinanceBU.

      Note: For details about the synchronization utility and this properties file, see the Integration Guide.

    3. Update the file name in the administration configuration settings on the UI: Log in to CA Service Catalog as a Service Delivery administrator (for example, spadmin). Then select Administration, Configuration, Server Information, Context Path, and specify the new file name.

      Note: For details about the administration configuration settings, see the Implementation Guide.

The war file is created and available for deployment.

If you are migrating or upgrading CA Service Catalog, follow these steps: