3 Replies Latest reply on Nov 19, 2002 1:11 PM by Andrzej Taramina

    jndi.properties in external Tomcat?

    Andrzej Taramina Newbie

      It's not very useful having to hardcode the JNDI Initial Context properties in your code. I've tried putting a jndi.properties file in many places in my external (separate JVM) Tomcat, but to no avail.

      Has anyone figured out a way to get the new InitialContext() method to find the JBoss jndi.properties file somewhere on the classpath inside a Tomcat servlet, so that the JBoss JNDI context is found?

      Is this one of those nasty classloader issues that relates to me having copies a few JBoss jars over to my Tomcat shared libraries directory?

      I'm using Tomcat 4.1.12 and JBoss 3.0.4.

      Thanks!