4 Replies Latest reply on Jun 14, 2012 8:24 AM by lauradp

    Put environment properties in jndi.properties file.

    lauradp

      Hello everybody,

      I was trying to create an InitialContext by using default constructor and putting environment properties into the attached jndi.properties file.

      I added jndi.properties to my classpath:

      <classpathentry kind="src" path="jndi.properties"/>

      but properties are not loaded.

       

      May someone help me?

       

      thanks

      Laura