Hi, i have an RMI server that works like a treat. In the main method of the server im registring my object with the server. I then use a JNDI lookup to retrieve an object and can then run the remote methods on it. However if i write a seperate client app i can access the JNDI and get the object, but as soon as i try to use it i get a socket error, code (10061). Im using a grant all security policy file on the client and server. has anybody got any ideas or suggestions ?
posted 16 years ago
i think u need to bind the jndi object to some port first then make a jndi lookup on client site this socket problem only occurs when there is no service responding for which u r asking from client...