unzip em_<VERSION>.zip
<TOMCAT_INSTALLATION>/webapps
directory.In a few moments, you should see an em
folder appear under <TOMCAT_INSTALLATION>/webapps
. This is CTP; it has been automatically deployed by Tomcat.
If you are using a separately installed MySQL or Oracle database (rather than the embedded HyperSQL database), you must setup the database before proceeding. See Setting Up the Database (MySQL or Oracle) for details. |
Open a browser tab and navigate to the host and port where CTP is deployed. You will be prompted to specify the following initial settings.
When you first start CTP, you will be prompted to accept the End User License Agreement and either enable or opt out of anonymous usage data collection.
You can change this configuration later by choosing Usage Data from the CTP Administration menu:
Open a web browser and point it to http://<HOSTNAME>:8080/em,
where <HOSTNAME>
is the machine name or IP address where Tomcat/CTP is installed.
If you need to reach this page later, you can choose License Configuration from the CTP settings (gear icon) menu.
Specify the license configuration when prompted.
If you are using a local license:
Enable Local as the license type.
Each license will enable one or more of the following features:
It will also define certain limits on the usage of CTP:
If you need to add new license keys and your License Server is on the same host as CTP, you can do it directly from CTP.
Once the key is processed, it will be added to the list in the Installed Licenses area. If you don’t see the Add New License field, verify that the network license’s Host name field is set to localhost
.
If this is a new installation, you will be prompted to validate the data base configuration. If you installed MySQL on the same machine as CTP, the default settings should already be correct, but you can modify the settings as needed.
(Optional) Configure user settings as described in Defining Users and Permissions.
You can now create systems, components, and instances, as well as link your Virtualize Server to CTP.
If you are using the embedded HyperSQL database (rather than a separately installed MySQL or Oracle database):
CTP does not ship with JDBC driver libraries for MySQL or Oracle. The Database Configuration page will instruct you to copy a JDBC connector jar file to the WEB-INF/lib/
folder on the application server.
For example, with MySQL download mysql-connector-java-<VERSION>.jar from http://dev.mysql.com/downloads/connector/j/ and copy it to the C:\Program Files\Apache\Tomcat\<VERSION>\webapps\em\WEB-INF\lib
folder.
For Oracle databases, copy the ojdbc jar from http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html to the same WEB-INF/lib/
folder.
By default, CTP times out after 120 minutes. You can easily change the timeout to something that suites your needs.
To change the CTP timeout duration:
Open the web.xml file located in the tomcat/webapps/em/WEB-INF/
directory and find the <session-timeout>
XML element.
<session-config> <session-timeout>120</session-timeout> <tracking-mode>COOKIE</tracking-mode> </session-config> |
<session-timeout>
XML element. The timeout is measured in minutes.