The ADFContext memory leak warning message during EJB call
(Doc ID 2134323.1)
Last updated on NOVEMBER 10, 2021
Applies to:Oracle JDeveloper - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
There is a standard RMI client to call EJB deployed on Weblogic Server 188.8.131.52.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?
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