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 Application | 1.0 |
Visit this projects build page for source build instructions.
Prerequisites
- Install Java SE 7
- Install Glassfish 3.1.2 and configure and start a domain
- Deploy MTS instance under the same or another Glassfish domain
Consult with the Java SE and Glassfish documentation for installation guides.
Deploying CAT
- Download the CAT distribution above or build one from source
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
- Edit the cat.properties file to reflect your deployment parameters
- MTS_HOST: this is the hostname that MTS is deployed to (default: 'localhost')
- MTS_PORT: this is the IIOP port for the Glassfish domain that MTS is deployed to (default: 3700)
- MTS_USERNAME: this is the account the CAT instance connects to MTS with (default: 'cat')
- MTS_PASSWORD: this is the account password the CAT instance connects to MTS with (default: 'password')
- MTS_APP: this is the application context the CAT instance connects to MTS with (default: 'CAT')
- 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)
- 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>/
Â