This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes B&S: Testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "B&S: Testing" Watch "B&S: Testing" New topic
Author

B&S: Testing

Muhammad Shafique
Ranch Hand

Joined: Sep 30, 2006
Posts: 59
Hi Folks,
After running the RMI server on netwrok (using IP address), I ran five thread based clients on same machine which called almost all methods of DBMain. There was almost minor thread sleep/wait during the process. When DB file size passed 300KB and I started new client, I received following exception:

Exception creating connection to: 10.70.73.46; nested exception is:
java.net.SocketException: No buffer space available (maximum connections
reached?): JVM_Bind


Apparently it seems machine recources problem or there may be some limit on clients when they run on same machine which run RMI server. Could any please let me know details of this exception?

Is there any other solid way to test this appliccation?

Thanks
Shafique
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
That's your network overloading.


42
 
 
subject: B&S: Testing
 
Similar Threads
RMI and it's unknown ways
RMI AccessException problem
Server-side threads in Java RMI
thread pool - Maxmim # of processes exceed
Locating rmi registry over the network