Deploying to Tomcat

Read this before deploying the application

Before deploying the application make sure your system fulfils the installation requirements and your database is properly configured.

Follow these steps to deploy Compound Registration to Tomcat:

  1. Configure Tomcat connector as needed in the server.xml within the Tomcat conf folder.

    • When Tomcat 8.5 and Internet Explorer 11 or Edge web browsers are used, the following line should be added to the context.xml:

      <CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" alwaysAddExpires="true" />
  2. Make sure you copied the proper JDBC driver as described on this page.

  3. Copy JavaMail API library (e.g. mail-1.4.7.jar) to your $TOMCAT_HOME/lib folder.

  4. Deploy the application war file (RegistryCxn.war) into the Tomcat webapps folder, and have the provided war file extracted in the webapps folder. You can achieve this by stopping Tomcat and starting it again - it will extract the war file automatically.

  5. After a successful deployment, the application can be started. By default you can access the application at the following URL: http://yourhost:8080/RegistryCxn/client/. If everything went well you'll see the Compound Registration Wizard, that helps you to upload your the license file, setup your database connection and create the first user of Compound Registration.


Notes:

  • Update user defined checker configuration files in the $HOME/.chemaxon folder with the provided ones, if needed.

  • The application property file can be adjusted to the local needs. Using this property file you can configure the authentication modes, email server settings, LDAP, Active Directory, SAML SSO, downstream databases, etc.. An example property file is located at $TOMCAT_HOME/webapps/RegistryCxn/WEB-INF/classes/registry.example.properties