0 Replies Latest reply on Mar 17, 2003 7:22 PM by Dan Ciarniello

    InitialContext not loading all jndi.properties

    Dan Ciarniello Newbie

      In JBoss 2.4.x, I've placed some system global properties in conf/default/jndi.properties which I access with something like

      new InitialContext().getEnvironment().get(DESIREDOBJECT);

      For some reason, this does not work in JBoss 3.0.6. If I print out the environment, there are only two entries: java.naming.factory.initial and java.naming.factory.url.pkgs. All other entries in jndi.properties are ignored. Why?