1 Reply Latest reply on Aug 27, 2005 2:32 AM by Elias Ross

    Cannot send messages to a queue in a remote machine

    David Araujo Newbie

      Hello,

      i'm trying to send a message for a queue on a remote machine, but i'm always getting the error:

      javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]

      I try to put the remote machine name in the java code:

      p.put(Context.PROVIDER_URL, "jnp://remotemachine:1099");

      I try to put in jndi.properties:

      java.naming.provider.url=jnp://remotemachine:1099

      I try to put in the java parameter of the run.sh:

      java -Djava.rmi.server.hostname=remotemachine

      I can do telnet 1099 remotemachine.

      Thanks for any help

      david