File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
RMI problem. please help
Joined: Jan 31, 2005
Feb 17, 2005 12:11:00
I'm connecting to an RMI server in the following way:
// Get remote service
RemoteService server = (RemoteService) Naming.lookup("rmi" + "://" + this.remoteHost + ":" + this.remotePort + "/" + this.remoteServiceName);
// Call remote service
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
Joined: Oct 18, 2000
Feb 18, 2005 08:08:00
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"?
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: RMI problem. please help
Shoud I persist the RMI registry and server ports?
Problem with RMI factory stubs
RMI SocketPermission exception from Applet - works from Netbeans
The RMI Data Access Conundrum
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014