• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Multiple RMI & JNDI

Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think u need to bind the jndi object to some port first
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...
Make yourself as serene as a flower, as a tree. And on wednesdays, as serene as this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic