1 Reply Latest reply on Jul 20, 2003 8:49 PM by adrian.brock

    JNDI bug in JBoss 3.2.2RC1


      Hi all,

      I have a few CMP beans with declared enviroment entries. Each of beans has the code in setEntityContext():

      InitialContext ctx = new InitialContext();
      NamingEnumeration bindings = ctx.listBindings("java:comp/env/attr-property-binding");
      while (bindings.hasMore()) {
      Binding bd = (Binding)bindings.next();
      String attr = bd.getName();

      During initialization the first one gets its env-entries correctly, but the next one gets the env-entries defined in the first bean descriptor.

      By the way JBoss 3.0.6 doesn't have such problem.

      Would you mind to reply when the issue can be resolved.