Monday, January 30, 2012

weblogic.jndi.retainenvironment

if you specify -Dweblogic.jndi.retainenvironment=true in the WLS command line,


in WLInitialContextFactoryDelegate:

if(KernelStatus.isServer())
{
String s = System.getProperty("weblogic.jndi.retainenvironment");
if(s != null)
keepEnvironmentUntilContextClose = true;
}


if (!keepEnvironmentUntilContextClose)
JNDIEnvironment.getJNDIEnvironment().popThreadEnvironment();


I am trying to understand what this - seemingly undocumented - parameter does.

If you have an idea, pleas leave a comment...

No comments: