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

Issue

ESET business product no longer supported

This content applies to an ESET product version that is currently in End of Life status and is no longer supported. This content is no longer updated. 

For a complete list of supported products and support level definitions, review the ESET End of Life policy for business products.

Upgrade ESET business products.

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

Solution

  1. Check the Apache Tomcat service
  2. Error message from a Java update is received (error code 1)

I. Check the Apache Tomcat service

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.

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 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%\bin directory (for example, C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin) and double-click tomcat7w.exe (Tomcat_folder and tomcat7w.exe are examples - use the actual names on your system).

Tomcat version

Depending on your version of Tomcat, the version number may vary.

Figure 1-1
  1. Click the Java tab, confirm the check box next to Use default is selected and click OK.

    Optionally, deselect the check box next to Use default and select the path to Java virtual machine file (C:\[Java folder path]\bin\server\jvm.dll or C:\[Java folder path]\bin\client\jvm.dll) and click OK.

Figure 1-2
  1. Start the Apache Tomcat service. The service should start without issue. If you are still experiencing issues, see our Knowledgebase article.