0 Replies Latest reply on May 17, 2002 1:55 PM by fstarsinic

    jndi rebind() question

    fstarsinic

      jboss 2.4.1
      jdk1.3.1
      win2000

      I am storing a string in Jndi to be looked up within jboss and from external jvm's.

      this works great. woo hoo.

      however, when i modify the value a la
      Context c = new InitialContext();
      c.rebind("this", "that");

      i get strange results (to me, anyhow).

      if i do the rebind from within jboss jvm
      all seems well but
      the changes do not take effect if i
      do a lookup from a different jvm.
      (i get the original values)

      if i do the rebind from within a different jvm
      all seems well but
      the changes do not take effect if i
      do a lookup from within jboss.
      (i get the original values)

      how do i make global changes?

      thanks,

      frank