Post Installation Configurations on Application Servers

After installing HCL Detect, complete the required Apache Tomcat updates.

Deployment on Apache Tomcat

Use the following Tomcat configuration for Detect.

About this task

Apache Tomcat is the supported application server for Detect.

Procedure

  1. Open setenv.sh or setenv.bat in the Tomcat instance used for Detect.
  2. Add the Detect_Home setting to JAVA_OPTS.
    set "JAVA_OPTS=%JAVA_OPTS% -DHCL_UNICA_DETECT_HOME=<DETECT_HOME> -DUNICA_PLATFORM_CACHE_ENABLED=true"
  3. For non-ASCII locale support, add UTF-8 JVM arguments.
    -Dfile.encoding=UTF-8
    -Dclient.encoding.override=UTF-8
  4. Verify that detect.xml exists in <Tomcat_Home>/conf/Catalina/localhost.

    The installer creates this file when datasource creation is selected and the Tomcat installation directory is provided during installation.

  5. Copy the MariaDB JDBC driver JAR into <Tomcat_Home>/lib if it is not already available in the classpath.
  6. Restart the Tomcat instance and validate application startup.