Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error on RMI

 
dennis hu
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic