Tomcat Install/Upgrade with ConnectALL Installer

The option to install Tomcat is available with the ConnectALL installer. However, should you choose to install Tomcat separately, here is a checklist and procedure that summarizes the tasks that you must perform before and after the installation.

  • The Tomcat version should support Java 8

  • Check if the Tomcat installation has the “ConnectAll” folder inside the <TOMCAT_HOME>/conf directory

  • If the folder mentioned in the above step is present, then proceed

  • Before the upgrade, take a backup of the <TOMCAT_HOME>/conf/ConnectAll directory

  • After the upgrade, check if the <TOMCAT_HOME>/conf/ConnectAll folder exists. If it doesn’t, copy the folder from the backup location to the <TOMCAT_HOME>/conf directory.

  • Change the property, 'shared.loader' in the <TOMCAT_HOME>/conf/catalina.properies file to shared.loader="${catalina.base}/conf

  • For Linux, change the permission and ownership. To change and update, 

    1. Permission for the Tomcat folders — Execute the below command

      1. chmod -R 755 <TOMCAT_FOLDER>

    2. Ownership for the Tomcat folders — Execute the below command

      1. chown -R tomcat:connectall <TOMCAT_FOLDER>

Tomcat Service Upgrade

If there is a difference between the latest version of Tomcat and the existing version, the Tomcat service has to be updated. To update, do the following procedure.


  1. Open the command prompt in the administrator mode

  2. Execute the below command to delete the existing service

    1. sc delete <Tomcat_service_name>

  3. Navigate to the <TOMCAT_LATEST_FOLDER>\bin folder

  4. Execute the below command to install the service with the name CATomcat

    1. service.bat install CATomcat

  5. Use the below command to update the Tomcat service display name and the startup properties to automatically start the service after the restart of the system

    1. <Tomcatversion.exe> //US//CATomcat --Startup="auto" --DisplayName="ApacheCATomcat" --Description="APACHE_TOMCAT ConnectAll Component"

Tomcatversion.exe – This will vary based on the Tomcat version. For example, in Tomcat version 7, it will be Tomcat7.exe and in Tomcat version 8, it will be Tomcat8.exe.

  1. Update the Tomcat service using the below command to run as local system to avoid permission issues

    1. sc config CATomcat obj= LocalSystem


If the location of the latest Tomcat installation is different, then, update it with the latest location. To update,

  1. Open the file /etc/init.d/tomcat

  2. Update the value of the variable “tomcat_home” with the latest Tomcat location