File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Error on RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Error on RMI" Watch "Error on RMI" New topic

Error on RMI

dennis hu
Ranch Hand

Joined: Aug 27, 2002
Posts: 40
Hi guys:
I am testing my app on one computer.At the client side,I used MultiThead to invoke th method getConnection{} in ConnectionFactoryImpl class.Every thread has a reference of DataServerImpl,but when the threads is excessed 200, occured these errors:
suncertify.server.ConnectionFactoryImpl_Stub.getConnection(Unknow source);,ets.
Ying Ren
Ranch Hand

Joined: May 24, 2002
Posts: 35
I knew RMI had the limit of clients. Out of limits will have some problems. In this assignment, we are not required to worry about the number of clients.
Ying Ren
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

Wow you got up to 200 connections. Most I always here is about 20-25 at most.
Good job.
Don't worry about this problem, there really sin't anything you can do, and the assessor knows the limitations.

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Don't get me started about those stupid light bulbs.
subject: Error on RMI