Title: RE: [JBoss-user] JNDI question

I've asked this one before but have not gotten around the problem so i'm re-asking. forgive me.

I start up JBOSS and things get loaded into JNDI (just strings)

Jboss uses them and they work just fine doing a ctx.lookup("name");


a remote server also uses those values by looking up the jboss
machine via jndi.properties

all seems well.


Now comes the part i do not understand:

if an object gets changed via  ctx.rebind("name", "newvalue");
and the ctx.rebind() method is invoked within the JBoss jvm,
the changes only seem to be "changed" if a ctx.lookup("name")
is done within the Jboss jvm.

a ctx.lookup("name") from a remote server STILL returns the
original value.

The inverse/converse/opposite (or whatever) is also true.

if I do a ctx.rebind("name","newvalue") from a remote server, the changes seem to take effect if ctx.lookup("name") is done from the remote server BUT ctx.lookup("name") from within the jboss jvm will return the original values AGAIN.  AARRGGGG!!!


how can this be? 

Reply via email to