After updating Java to JRE 8u261 on Windows the Protection Engine service no longer starts

book

Article ID: 196413

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

After installing Java JRE 1.8.0_261 (8u261) or later on Windows with the local administrative console enabled, Symantec Protection Engine (SPE) no longer starts. The symcscan service remains in a stopped state and cannot be started manually.

Cause

Starting with Java JRE 1.8.0_261 (8u261), Oracle moved to using the Microsoft Visual Studio 2017 tool chain to build releases. This move requires changing the runtime library that JRE depends on (see the Oracle Java release notes for more information). Because of this change, there may be unexpected behavior when the Java UI is enabled and when Java JRE has been updated to 1.8.0_261 and later.

Environment

Windows Server with Oracle Java JRE 1.8.0_261 (8u261)

Resolution

Please use one of the workarounds listed on this page.

Workarounds:

Your organization can consider the following workarounds.

Add Java bin path to PATH system environment variable

The issue may occur when the Windows PATH system environment variable does not contain the folder which includes the javaw.exe binary. Adding the Java bin path (by default: C:\Program Files\Java\jre1.8.0_261\bin) to the PATH may allow the service to start. Note that this location changes with each release of JRE. After each JRE upgrade, the current JRE location must be confirmed in the Java (32-bit) control panel and then the PATH updated to point to the new location.

Disable the Java UI and manage SPE via the commandline

The local administrative console is completely optional in all supported versions of Protection Engine. It is fully functional and manageable without the console. You can perform all actions via the commandline that you normally would in the console. For information on how to do this for each specific version, look for "Enable Java UI section" in the CLI guide found in the Related Documents for each version here. The xml modifier command should resemble the following:

    • xmlmodifier -s //configuration/Resources/System/EnableJavaUI​/@value false configuration.xml
Upgrade to SPE 8.0 or newer and utilize the cloud console

Protection Engine 8.0 added a cloud-based console. You can upgrade to SPE 8.0 or newer and utilize this console to perform management tasks on the scanners

Use any version of Java 8 prior to 1.8.0_261 (8u261)

If your policies allow it, you can use the older versions of Java JRE to continue to use the local administrative console.

 

Additional Information

More information about working with core server only mode

Please see the chapter in the Implementation Guide titled "Working with the Core server only mode" or this section of the online help guide.