You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to start a Liberty server with the security manager enabled in the bootstrap.properties file, like this
websphere.java.security
The Liberty server fails to start with messages similar to this in the console.log:
WARNING: package sun.security.action not in java.base
Launching com.ibm.ws.security.csiv2.fat.servlet.client.java2 (WebSphere Application Server 25.0.0.1/wlp-1.0.97.202501102305) on OpenJDK 64-Bit Server VM, version 24-ea+31-3600 (en_US)
CWWKE0005E: The runtime environment could not be launched.
CWWKE0018E: An exception occurred while launching the runtime environment: java.lang.UnsupportedOperationException: Setting a system-wide Policy object is not supported
com.ibm.ws.kernel.boot.LaunchException: Caught unexpected exception java.lang.UnsupportedOperationException: Setting a system-wide Policy object is not supported
at com.ibm.ws.kernel.boot.internal.KernelBootstrap.rethrowException(KernelBootstrap.java:714)
at com.ibm.ws.kernel.boot.internal.KernelBootstrap.go(KernelBootstrap.java:221)
at com.ibm.ws.kernel.boot.Launcher.handleActions(Launcher.java:243)
at com.ibm.ws.kernel.boot.Launcher.createPlatform(Launcher.java:119)
at com.ibm.ws.kernel.boot.cmdline.EnvCheck.main(EnvCheck.java:61)
at com.ibm.ws.kernel.boot.cmdline.EnvCheck.main(EnvCheck.java:37)
Caused by: java.lang.UnsupportedOperationException: Setting a system-wide Policy object is not supported
at java.base/java.security.Policy.setPolicy(Policy.java:114)
at com.ibm.ws.kernel.boot.internal.KernelBootstrap.enableJava2SecurityIfSet(KernelBootstrap.java:458)
at com.ibm.ws.kernel.boot.internal.KernelBootstrap.buildClassLoader(KernelBootstrap.java:412)
at com.ibm.ws.kernel.boot.internal.KernelBootstrap.go(KernelBootstrap.java:196)
... 4 more
When trying to start a Liberty server with the security manager enabled in the bootstrap.properties file, like this
The Liberty server fails to start with messages similar to this in the console.log:
But according to our design documentation for handling the disabling of the security manager in Java 18, we are supposed to ignore the security manager request, post a message and start the server.
The text was updated successfully, but these errors were encountered: