Deploying the Threat Mitigation Application
The Threat Mitigation Application load script configures components (such as the J2EE application server, directory, and database) on the local host. However, depending on the components used, their installation host, and their configuration, you may need to manually configure some of the components or modify the configuration.
The Threat Mitigation Application load script automates the process of deploying the Threat Mitigation Application in JBoss (if it is installed locally) and completes these configuration tasks:
- Configures the jbosscmp-jdbc.xml file inside the /opt/UMC/conf/thma/webapp/thma.ear file and the data source deployment descriptor based on the type of database specified and the database connection information.
- Installs the JDBC driver, data source deployment descriptor, and authentication configurations in JBoss (if JBoss is installed locally).
- Loads the Threat Mitigation Application sample data in the directory.
- Creates the database schema and loads sample database records. Follow the instructions at the end of the load script to complete the database configuration for the selected database. Some databases might require additional steps, such as creating a database user or enabling a remote TCP/IP connection.
To deploy the Threat Mitigation Application:
- On the host, log in as root or as another authorized administrator.
- Invoke the script by accessing the folder /opt/UMC/conf/thma/etc and running the load command.
- cd /opt/UMC/conf/thma/etc
- ./load
- Deploy the thma.ear file by using
the procedure appropriate for your Web application server.
If you are using JBoss, copy the file to the JBoss /default/deploy directory. For example:
- cp /opt/UMC/conf/thma/webapp/thma.ear /opt/UMC/jboss/server/default/deploy
