1 Reply Latest reply on Jan 23, 2008 2:09 AM by jaikiran pai

    Invalid (i.e. remote) invocation of local interface (null co

    Ramesh kesavanarayanan Newbie

      Hi all,

      This is really weird. I have a single machine with 2 nodes and each has the JNP address of 1199 and 1299.

      I ma doing the lookup using the following code segment
      Properties props = new Properties();
      props.setProperty(Context.PROVIDER_URL, "jnp://localhost:1199,jnp://localhost:1299");
      props.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
      InitialContext iniCtx = new InitialContext( props );
      return iniCtx.lookup(lookupName);

      when I try to find the EJB (Local) running on this box via the browser from another box within the network, I get the above stated exception.

      Can some one throw light whats wrong?