The Locator process terminates unexpectedly with exit status 1 in Gemfire 10.* versions
Exception in thread "main" com.vmware.gemfire.deployment.modules.internal.LauncherException:
org.apache.geode.security.GemFireSecurityException: Instance could not be obtained.
Expecting a org.apache.geode.security.SecurityManager class.
NA
The issue is caused by changes in classloader hierarchies and isolation mechanisms introduced in GemFire 10.x.
In GemFire 10, JAR files are deployed using a classloader isolation model. Each deployed JAR is loaded into its own isolated classloader. These classloaders do not share resources with each other or the system by default. A deployment will first attempt to load classes from its own classloader before looking elsewhere.
Classloader isolation is the default and recommended setting for all new GemFire 10 implementations. In contrast, chained classloading was the default in GemFire 9.x and is still available to support legacy applications.