2 Replies Latest reply on May 21, 2003 9:59 AM by Jon Barnett

    accessing session bean from remote client

    pstrotmann Newbie

      Hi all,

      I succeeded in accessing a session bean, from a client running on the server machine, to access the same session bean from a remote machine, I just changed "jnp://localhost:1099" to "jnp://192.168.0.1:1099" but on jndi.lookup("jndiNameOfSessionBean") I get:
      javax.naming.CommunicationException Root Exception is java is
      java.rmi.ConnectException Connection refused to host 127.0.0.1 nested exception is: java.net.ConnectException: Connection refused.

      Is this the wrong syntax for specifying the remote machine or is there still some additional work necessary to grant access to the server.

      the physical connections between the servers seem to work fine, ping works in both directions and rmote db2-access works too

      peter