aspose file tools*
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
Author

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:
sun.rmi.server.UnicaseRef.invoke(UnicaseRef.java,complied.java);
suncertify.server.ConnectionFactoryImpl_Stub.getConnection(Unknow source);,ets.
Thanks!
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
scjd2,scjp2
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

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.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error on RMI