The ADFContext memory leak warning message during EJB call
(Doc ID 2134323.1)
Last updated on MAY 25, 2023
Applies to:
Oracle JDeveloper - Version 12.1.3.0.0 and laterInformation in this document applies to any platform.
Goal
There is a standard RMI client to call EJB deployed on Weblogic Server 12.1.3.0.0. The source code is outlined as below.
The following warning message always be seen with each EJB method invocation.
<Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
Caller should ensure that a DefaultContext is proper for this use. Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly. This message may be avoided by performing initADFContext before using getCurrent(). For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.>
<Error> <oracle.adf.share.ADFContext> <BEA-000000> <ADF detected an ADFContext leak. Please see the documentation for more information about handling ADFContext leaks. For more information about the leaking ADFContext please enable logging for oracle.adf.share.ADFContext at FINEST level.
Is it true that the EJB calls could cause memory leaks?
Solution
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
Goal |
Solution |
References |