IBM Support

WebSphere Application Server can not start due to Windows CFG (Windows Control Flow Guard)

Troubleshooting


Problem

The java.exe process is terminated on Windows 10 / Windows 2019 environments unexpectedly by Windows CFG (Windows Control Flow Guard)

Symptom

The WebSphere server starts and writes only a few lines in the SystemOut.log, and then logging just stops, the SystemOut.log is truncated.

The java.exe process goes away; there are no dump files generated (javacores, snap, or core dump files) and no errors in the Event Viewer logs

Cause

The Windows CFG prevents the WebSphere Application Server embedded java.exe to be executed.

Resolving The Problem

Open a PowerShell window as administrator

Run the following and replace the <WAS_HOME> with the WebSphere Application Server installation directory path.

For WebSphere Application Server v8.5.5.x

​
Set-ProcessMitigation -name "<WAS_HOME>\java\jre\bin\java.exe" -disable CFG

For WebSphere Application Server v9.0.5.x


Set-ProcessMitigation -name "<WAS_HOME>\java\8.0\jre\bin\java.exe" -disable CFG

Once the Windows CFG is disabled for the WebSphere Application Server embedded Java, try to start the application server again.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSAW57","label":"WebSphere Application Server Network Deployment"},"ARM Category":[{"code":"a8m50000000CdWJAA0","label":"WebSphere Application Server traditional-All Platforms-\u003ESystem Management-\u003ETraditional WAS-\u003EStart\/Stop"}],"ARM Case Number":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.5.0;9.0.0"},{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"ARM Category":[{"code":"a8m50000000CdWJAA0","label":"WebSphere Application Server traditional-All Platforms-\u003ESystem Management-\u003ETraditional WAS-\u003EStart\/Stop"}],"Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.5.5;9.0.0;9.0.5"}]

Document Information

Modified date:
24 March 2023

UID

ibm16965292