My Oracle Support Banner

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 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.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.