1 Reply Latest reply on Feb 6, 2003 5:56 PM by X Yang

    Cannot instantiate class: org.jnp.interfaces.NamingContextF

    X Yang Newbie

      Hi, everyone

      I get following exception while I create InitialContext() to get JNDI initial context.

      javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
      aces.NamingContextFactory. Root exception is java.lang.ClassNotFoundException:

      I have a jndi.properties file contains the following in the classpath:


      I have jni-client.jar, jnp client jar and jboss-j2ee.jar in the class path.

      I checked Jboss documents and nearly read all the topics, I think I have done everything, but simply the program does not work. Can anyone help...thanks