Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Multiple RMI & JNDI

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic