Remote Call PolicyContext.getContextID() Returns Null (Doc ID 2067688.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

PolicyContext.getContextID() is defined in an EJB method. It returns null when invoked from a remote client.

It works fine when called from a local client, such as from servlet in the same application.

Cause

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