This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 17249
    
    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
 
Similar Threads
Posting to bump up my count...
The x900 effect ?
Text box value is not being completely filled with request attribute
Cant use object from another class
WA #1.....word association