java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators] when connecting to different WLS versions
(Doc ID 2257760.1)
Last updated on OCTOBER 10, 2023
Applies to:
Oracle Business Process Management Suite - Version 12.2.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
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);
ctx.lookup(jndiName);
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.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |