Skip to main content
Skip table of contents

Apache Tomcat 8.0 - Cantara Administration Console Installation

This documentation does not intend to document Tomcat and It is assumed that anyone following the documentation contained on this page has experience working with Tomcat. However, you can refresh your Tomcat knowledge by reading below links:

Make sure you have done the following before deploying the Cantara Administration Console:

To deploy an instance of the Cantara Administration Console
  1. Create the context definition xml file in $CATALINA_HOME/conf/Catalina/localhost, this file should be have the same name as the desired context for the application. Below is an example context file.

  2. Example Context console.xml


    console.xml

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/console" docBase="/u01/rinami/cantara/console/console50.war">
      <Manager pathname="" />
      <Resource auth="Container"
          driverClassName="com.mysql.jdbc.Driver" 
          maxTotal="100" 
          maxIdle="30" 
          maxWaitMillis="10000"
          name="jdbc/Cantara"
          password="cantara" 
          type="javax.sql.DataSource" 
          url="jdbc:mysql://localhost:3306/Cantara50" 
          username="cantara"/>
    </Context>
  3. In the tomcat /bin folder locate the setenv file (Linux this will be setenv.sh and windows setenv.bat, add a new java property to the file.

    setenv Example

    XML
    JAVA_OPTS="-Dcantara.console.etc=/u01/rinami/cantara/console/etc"
  4. Start the Apache Tomcat instance.
  5. If the deployment is successful, you should see the Cantara Console in the list of applications with its running state set to true. If the deployment fails to start, check the appropriate Tomcat logs for deployment errors.
  6. Launch the web application to start the configuration process.



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.