Run the createDatabase.xml Ant script to create a generic MCT database. You must run this script twice, first with a “create-database-user” argument to create the database user and then again with a “create-database” argument to create the database itself. createDatabase.xml is run from the command line.
The evaluation version does not require configuration.
Before you can configure and run MCT, you must install and configure MySQL Server and Apache Ant. MySQL is used for the MCT database and Apache Ant is used to run the configuration scripts.
MCT requires Java 1.6_16 or later. Windows developers need the JDK, as the JRE does not have the necessary plug-in support. The Mac JVM is equivalent to the JDK.
MCT supports MySQL and Apache Derby. We recommend MySQL Server for mission control operations. You should use version 5.1.48 or later. When you install MySQL, note the username and password for a database user with permission to drop and create databases and users. You will need this information when you configure MCT
Note: The MCT evaluation version includes an embedded Derby database that does not require configuration.
Apache Ant is used to run the MCT database configuration scripts and to start MCT. It is not included in the MCT distribution. Install the Ant tool and make sure it is referenced on your PATH environment. MCT has been tested on Ant 1.7.1 and 1.8.2 (the latest version).
1. Download the MCT platform distribution from here.
2. Unzip and untar MCT to a directory of your choice. You should see the following subdirectory structure.
1. Edit the local.properties file.
local.properties is a config file that Apache Ant parses when executing MCT configuration scripts. It is located in the root directory of your MCT installation.
You should not need to change the MCT runtime memory.
2. Edit the /resources/properties/persistence.properties file. The values entered here tell MCT how to connect to your database.
1. Run the createDatabase.xml script with a "create-database-user" argument to create the database user.
2. Run the createDatabase.xml script again with a "create-database" argument to create the database.
1. Start MySQL if it is not already running.
2. Run the createDatabase.xml script with "create-database-user" and "-Dmct.user=<username>" arguments.
That's it. Welcome to the MCT platform. If you have not done so already, check out the Overview video on the Home page and the Quick Start Guide to help you get started.