[KB7801] Fix Apache Tomcat not extracting the "era.war" file after ESET PROTECT On‑Prem All-in-one installation (Windows)

Issue

  • Resolve issues with accessing the ESET PROTECT On-Prem Web Console after the ESET PROTECT Server was installed using the ESET PROTECT On-Prem All-in-one installer
  • Fix Apache Tomcat not extracting the era.war file

Details


Click to expand

This issue with the era.war file not extracting into the era folder within the webapps folder of your Apache Tomcat installation folder occurs on Windows Server when the Apache Tomcat service is configured to run under the built-in Network Service account, which lacks the required permissions to extract the era.war file.


Solution

  1. Open the Services management console: press the Windows key, type services and click Services.

  2. In the list of services, right-click Apache Tomcat and select Stop.

  3. When the service is stopped, right-click Apache Tomcat again and select Properties.

  4. Click Log On, select the radio button next to Local System account and click OK.

  5. Navigate to the webapps folder of your Apache Tomcat installation folder (for example, C:\Program Files\Apache Software Foundation\apache-tomcat-9.0.40\webapps).

  6. Delete the existing era.war file.

  7. Navigate to the installers folder of the extracted ESET PROTECT On-Prem All-in-one installer folder (for example, C:\Users\Administrator\Downloads\setup_x64\installers) and locate the era.war file.

  8. Copy the era.war file to the webapps folder of your Apache Tomcat installation folder (for example, C:\Program Files\Apache Software Foundation\apache-tomcat-9.0.40\webapps).

  9. Return to the Services window, right-click Apache Tomcat and select Start. Apache Tomcat will automatically detect the era.war file and extract it into a folder named era; this may take several minutes.

  10. When the era.war file is extracted, verify that you can access the ESET PROTECT On-Prem Web Console.

  11. Close the ESET PROTECT On-Prem Web Console.

  12. Return to the Services window and stop the Apache Tomcat service again.

  13. When the service is stopped, right-click Apache Tomcat again and select Properties.

  14. Click Log On, select the radio button next to This account and type Network Service. Clear the Password and Confirm password fields and click OK.

  15. Start the Apache Tomcat service again and verify that you can access the ESET PROTECT On-Prem Web Console.