The following sections describe different configuration suites to have the Apache Tomcat Web application server running Cumulus Web Solutions. Although Cumulus Web Solutions, as installed, is pre-configured for immediate operation with the Apache Tomcat Web application server, you may want to check the configuration.
Furthermore, this section describes how to configure an already existing Apache Tomcat Web application server (not provided by Canto) in order to be used by Cumulus Web Solutions.
Windows
To configure Tomcat under Windows to work with Cumulus Web Solutions:
1. Edit/create the file %TOMCAT_HOME%\bin\setenv.bat and append the following line to the end: set CLASSPATH=%CLASSPATH%;C:\Program Files \Canto\CumulusJavaRuntime\CumulusJC.jar assuming that the Cumulus Java Classes are installed in: C:\Program Files\Canto\CumulusJavaRuntime
NOTE: Use ; (a semicolon) as a separator.
Linux
To configure Tomcat under Linux to work with Cumulus Web Solutions you have to edit the script setenv.sh.
Assuming that the Cumulus Java Classes are installed in /usr/local/CumulusJavaRuntime, you have to modify the script as follows:
1. Edit/create the file %TOMCAT_HOME%\bin\setenv.sh and append the following lines: LD_LIBRARY_PATH=${LD_LIBARY_PATH}:/usr/local/CumulusJavaRuntime/lib export LD_LIBRARY_PATH
2. Insert the following line after the other settings of the CLASSPATH: CLASSPATH=${CLASSPATH}:/usr/local/CumulusJavaRuntime/CumulusJC.jar
NOTE: Use : (a colon) as a separator.
macOS
To configure Tomcat under macOS to work with Cumulus Web Solutions you have to edit the script setenv.sh.
Assuming that the Cumulus Java Classes are installed in /usr/local/CumulusJavaRuntime, you have to modify the script as follows:
1. Edit the file $TOMCAT_HOME/bin/setenv.sh and append the following lines: DYLD_LIBRARY_PATH=/usr/local/CumulusJavaRuntime/lib export DYLD_LIBRARY_PATH
2. Insert the following line after the other settings of the CLASSPATH: CLASSPATH=${CLASSPATH}:/usr/local/CumulusJavaRuntime/CumulusJC.jar