My Oracle Support Banner

Context Propagation Does not Work With Asynchronous EJBs (Doc ID 2041013.1)

Last updated on DECEMBER 16, 2023

Applies to:

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

Symptoms

Work Context propagation is not working when calling Asynchronous EJB.

The documentation of the work context can be found below 

https://docs.oracle.com/cd/E24329_01/web.1211/e24368/context.htm#WLPRG373

Our documentation states this: 
  PropagationMode Interface
  Defines the propagation properties of WorkContexts. Specifies whether the WorkContext is propagated locally, across threads, across RMI invocations, across JMS queues and topics, or across SOAP messages. If not specified, default is to propagate       data across remote and local calls in the same thread.

However, seems like there is a problem when handling WorkContext propagation across threads. When the asynchronous method is invoked by the container, the WorkContext is not propagated between threads.

Changes

 

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
Changes
Cause
Solution
References


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