Installing the CDA CAT Web Application

These are the instructions for deploying the CAT web application under the Glassfish application server.

Downloads

Project
Version Download
CDA CAT Web Application1.0

Visit this projects build page for source build instructions.

Prerequisites

Consult with the Java SE and Glassfish documentation for installation guides.

Deploying CAT

  1. Download the CAT distribution above or build one from source
  2. Create a cat.properties file in the domain "config" directory with the following contents:

    cat.properties
    # copy this file in the config directory of the glassfish domain you are deploying CAT to
    #
    # default - DEV
    MTS_HOST=localhost
    MTS_PORT=3700
    MTS_USERNAME=cat
    MTS_PASSWORD=password
    MTS_APP=CAT
    SRC_SYSTEM_ID=HOSTNAME:MTS:ENVIRONMENT
  3. Edit the cat.properties file to reflect your deployment parameters
    1. MTS_HOST: this is the hostname that MTS is deployed to (default: 'localhost')
    2. MTS_PORT: this is the IIOP port for the Glassfish domain that MTS is deployed to (default: 3700)
    3. MTS_USERNAME: this is the account the CAT instance connects to MTS with (default: 'cat')
    4. MTS_PASSWORD: this is the account password the CAT instance connects to MTS with (default: 'password')
    5. MTS_APP: this is the application context the CAT instance connects to MTS with (default: 'CAT')
    6. SRC_SYSTEM_ID: this string is compared to a value retrieved from the MTS service and if they don't match an error is thrown (default: <hostname>:MTS:DEV)
  4. Copy the cat.war file to the autodeploy directory of the Glassfish domain you have setup with the database resources

Web Application URL

The web app will be deployed to:

    http://<domain hostname>:<domain port>/<name of war>/

Â