Apache Tomcat is not running (service could not start)—how do I fix this problem? (ESMC 7.x)

Issue

  • Apache Tomcat is not running
  • Error message from a Java update is received (error code 1)

Solution

Apache Tomcat requires Java:
  • Make sure that Java, ESMC, and Apache Tomcat have the same bitness (32-bit or 64-bit).
  • If you have multiple Java versions installed on your system, we recommend that you uninstall older Java versions and keep only the latest Java.
  • 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.

I. Check the Apache Tomcat service

In cases where the ESET Security Management Center Web Console (ESMC Web Console) is not running, check whether the Apache Tomcat service is running:

  1. Click Start Run, type services.msc and then click OK
    Windows Server 2012 users: Click the Windows key + R, type services.msc and press Enter.

  2. Locate the Apache Tomcat service, and then verify that Running is listed in the Status column. If it is not running, try to start the service manually by selecting it and clicking Start

II. Error message from a Java update is received (error code 1)

While trying to start the service, you might receive the following error message, which may result from a Java update:

"Windows could not start the Apache Tomcat 7 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to the service-specific error code 1."

If you receive this error while attempting to start the Apache Tomcat service, follow the step-by-step instructions below to resolve your issue:

  1. Navigate to your %TOMCAT_HOME%in directory (for example, C:Program FilesApache Software FoundationTomcat 7.0in) and double-click tomcat7w.exe.


Figure 1-1
Click the image to view larger in new window

  1. Click the Java tab, deselect the check box next to Use default and select the path to Java virtual machine file (C:[Java folder path]inserverjvm.dll or C:[Java folder path]inclientjvm.dll) and click OK.


Figure 1-2

  1. Start the Apache Tomcat service. The service should start without issue.

See the Troubleshooting section of the ESMC Administration Guide for more information.

Additional resources