• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI problem. please help

 
Ryan Acc
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • 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"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic