java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators] when connecting to different WLS versions
Last updated on APRIL 21, 2017
Applies to:Oracle Business Process Management Suite - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
The installation uses BPM API and J2EE API to connect to BPM server 12.2.1 using LocatorFactory.createLocator(jndiConfigProperties);
and then look up a context on the WLS using
Context ctx = new InitialContext(props);
The context look is failing with the error [STACK TRACE: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators].
It looks like when creating Services WebLogic server initial context, the same credentials which are provided for BPM Weblogic Initial context creation are getting passed because of which this security exception is thrown as credentials are different for both weblogic servers.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms