11-08-05 11:40 PM
I have a JNDI variable ("Foo") defined from the websphere console. In the c
ode I want to always get the latest console setting.
The JNDI documentation indicates that setting Context.AUTHORITATIVE to "true
" should by pass all caching.
My code is:
<code>
Hashtable env = new Hashtable();
env.put(Context.AUTHORITATIVE, "true");
javax.naming.InitialContext ctx = new javax.naming.InitialContext(env);
value = (String) ctx.lookup("Foo");
</code>
It picks up the inital setting of Foo, but never picks up any changes.
Any idea how this is supposed to work??
Thanks,
-- Frank
[ Post a follow-up to this message ]
|