I'm using Restlet webservice API to connect my Tomcat6 webserver ( which is deployed in Linux box ), while my application is trying to communicate with server, the connection is not getting closed, due to this after some interactions it is throwing " Communication Error (1001) - Too many open files " Error and server stops serving.
My client code of Restlet is releasing connection properly, but it didn't helps me, can anyone of you please help me on this?
Here is my client code:
I really appreciate if you have any solutioins.
Anything worth doing well is worth doing poorly first. Just look at this tiny ad: