3 Replies Latest reply on Jan 21, 2004 5:04 PM by mdichi

    JNDI Explorer

    mdichi Newbie


      "mdichi" wrote:
      I'm trying to setup JNDI Explorer for Eclipse (see http://renaud.waldura.com/software/java/com.waldura.eclipse.jndibrowser/) but I'm having a problem getting it to work with JBoss 3.2.1. It is asking for the following items (with defaults in parenthesis). Are these corect? If not, what should I use?

      - Initial Context Factor (org.jnp.interfaces.NamingContextFactory)
      - Provider Url (jnp://localhost:1099)
      - Username
      - Password
      - Additional parameters (java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces)

      When I use these default values, the following error occurs, "The initial context could not be created: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactor [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory"


        • 1. Re: JNDI Explorer
          micke Novice


          "milowe" wrote:
          You need to include the jnp client jar in your classpath.
          You find it in JBOSS_HOME/client directory.

          • 2. Re: JNDI Explorer
            mdichi Newbie


            "mdichi" wrote:
            It already is in the classpath. I wasn't sure whether JBoss needs it or Eclipse. So I put it in the classpatha and restarted both, but to no avail.


            • 3. Re: JNDI Explorer
              mdichi Newbie


              "mdichi" wrote:
              I think I have JNDI Explorer working a little better. I included all the JARs in the eclipse\client directory - via the JNDI Explorer preferences.

              Now I can view the JNDI repository. When clicking on some objects, I get some kind of security error. But at least its partially working.