Windows instructions (manual)

Use this instructions to upgrade Apache Tomcat if you do not have the ESET All-in-one installer present:

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 will 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.

validation-status-icon-warning IMPORTANT: In case you have more Java versions installed on your system, we recommend that you uninstall the older Java and keep only the latest one.

2.Check to see which version of Apache Tomcat is currently in use. If a newer version is available, perform an upgrade:

a.Open a Run dialog, type services.msc and then click OK

b.Right-click the Apache Tomcat service, select Properties and observe the version number in the General tab (for example 7.0.67).

3.Check our list of supported versions of Apache Tomcat to ensure that the new version is compatible with ESET products.

validation-status-icon-warning IMPORTANT: Apache Tomcat 9.x requires at least Java version 8.

 

How to upgrade

1.Stop the Apache Tomcat service and close Tomcat7w.exe:

a.Open a Run dialog, type services.msc, click OK.

b.Right-click the Apache Tomcat service and then click Stop.

c.Close Tomcat7w.exe in your system tray.

2.Back up the following files (in some cases the folder name is Tomcat 8.0):
C:\Program Files\Apache Software Foundation\Tomcat 7.0\conf\server.xml
C:\Program Files\Apache Software Foundation\Tomcat 7.0\.keystore
C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\era\WEB-INF\classes\sk\eset\era\g2webconsole\server\modules\config\EraWebServerConfig.properties

3.Download the latest supported version of the Apache Tomcat installer file apache-tomcat-[version].exe from http://tomcat.apache.org.

4.Uninstall the current version of Apache Tomcat.

5.Delete the following folder if it is still present on your system:
C:\Program Files\Apache Software Foundation\Tomcat 7.0\

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 HTTPS connection for Apache Tomcat for <%PRODUCT%> Web Console is set up properly.

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

10. Restore EraWebServerConfig.properties to its original location.

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

Click Start > All Programs > Apache Tomcat > Monitor Tomcat and in the General tab press Start.

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

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

 

Troubleshooting

If you are unsuccessful 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.