7 Replies Latest reply on Dec 11, 2006 4:22 AM by vis vardh


    Andrés Gorzelany Newbie

      Hi Guys !

      This is the situation: i always ran my application (Working Perfectly) on the same computer as my beans were deployed in this way:

      p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
      p.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");

      and then

      InitialContext ctx = new InitialContext(p);

      and finally:


      Well, the problem is that now i have to run my app not in the same computer as JBoss, so i change "localhost" to "" but this is what i get when i try to start the application:

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

      The exception references to the third piece of code i write on this post, what i am doing wrong ? do i have to set something more to connect to another JBoss Server?

      Please Help me,

      Thanks in advance :)