• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RMI problem. please help

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm connecting to an RMI server in the following way:

//Client code
// Get remote service
RemoteService server = (RemoteService) Naming.lookup("rmi" + "://" + this.remoteHost + ":" + this.remotePort + "/" + this.remoteServiceName);

// Call remote service
server.doSomething(args1, args2);


However, the RMI server sometimes stops responding to client connections/calls after the server has serviced a lot of clients almost simultaneously.

Do I have to do an unbind clients to free up some space for new clients? How would I do this?

cheers in advance
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any output to tell what the server's doing when it's not responding? Is it still busy servicing clients? Or has it crashed or locked up for some reason?

And how many clients is "a lot"?
reply
    Bookmark Topic Watch Topic
  • New Topic