Windows instructions (manual)

Apache Tomcat is a mandatory component required to run ESMC Web Console.

Follow these instructions to upgrade Apache Tomcat manually (if you do not have the latest ESMC All-in-one installer):

Before upgrading

1.Ensure that Java/OpenJDK is up to date.

validation-status-icon-error WARNING

Starting January 2019, Oracle JAVA SE 8 public updates for business, commercial or production use require a commercial license. If you do not purchase a JAVA SE subscription, you can use this guide to transition to a no-cost alternative and install one of listed supported Java editions.

validation-status-icon-warning IMPORTANT

If you have multiple Java versions installed on your system, we recommend that you uninstall earlier Java versions and keep only the latest version of Java.

Make sure that Java, ESMC, and Apache Tomcat have the same bitness (32-bit or 64-bit).

2.Check to see which version of Apache Tomcat is currently available.

a.Navigate to the Apache Tomcat installation folder:
C:\Program Files\Apache Software Foundation\[ Tomcat folder ]\

b.Open the RELEASE-NOTES file in a text editor and check the version number (for example 7.0.90).

c.If a more recent supported version is available, perform an upgrade.

How to upgrade

1.Stop the Apache Tomcat service: Navigate to Start  > Services > right-click the Apache Tomcat service and select Stop.

Close Tomcat7w.exe if it is running in your system tray.

2.Back up the following files:

C:\Program Files\Apache Software Foundation\[ Tomcat folder ]\.keystore
C:\Program Files\Apache Software Foundation\[ Tomcat folder ]\conf\server.xml
C:\Program Files\Apache Software Foundation\[ Tomcat folder ]\webapps\era\WEB-INF\classes\sk\eset\era\g2webconsole\server\modules\config\

If you are using a custom SSL certificate store in the Tomcat folder, back up the certificate too.

3.Uninstall the current version of Apache Tomcat. If you do not see Apache Tomcat in the list of installed programs, run the Command Prompt as Administrator and delete the Tomcat7 service:
sc delete Tomcat7

4.Delete the following folder if it is still present on your system:

C:\Program Files\Apache Software Foundation\[ Tomcat folder ]\

5.Download the latest supported version of the Apache Tomcat installer file (32-bit/64-bit Windows Service Installer) apache-tomcat-[version].exe from

6.Install the newer version of Apache Tomcat that you downloaded:

During the installation, select the path to Java (parent folder of Java bin and lib folders).

When you are finished, deselect the check box next to Run Apache Tomcat.

7.Restore .keystore, server.xml, and custom certificates to their original location.

8.Make sure the HTTPS connection for Apache Tomcat for ESMC Web Console is set up properly.

9.Deploy ESMC Web Console, see Web Console installation - Windows.

10. Restore to its original location.

11. Run Apache Tomcat and set a correct Java VM:

a)Navigate to folder C:\Program Files\Apache Software Foundation\[ Tomcat folder ]\bin and run Tomcat7w.exe.

b)In the General tab, set Startup Type to Automatic and click Start.

c)Click the Java tab, make sure Use default is deselected and Java Virtual Machine includes the path to the jvm.dll file (see illustrated Knowledgebase instructions), and then click OK.

12. Connect to ESMC Web Console and ensure that the program works correctly.



If you are unsuccessful in setting up an HTTPS connection for Apache Tomcat, you can skip this step and use an HTTP connection temporarily.

If you are unable to upgrade Apache Tomcat, install your original version and apply the configuration from step 2.