2 Replies Latest reply on Jun 27, 2006 5:33 AM by Kishore CHVN

    JNDI Problem when using client to JBoss

    Suzy Fynes Newbie

      Hi,

      I'm to make a connection to a JNDI in JBoss from an client outside JBoss. I'm using the following JNDI.properies file:

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jnp.interfaces
      java.naming.provider.url=jnp://localhost:1099

      And i'm getting the following error:

      [java] javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)

      Any one any ideas what causes this and how to resolve it!
      Thanks,
      Sue