FileNotFoundException - Too many files open
posted 9 years ago
Without looking at all your code we really can't be much help. However, I will say you must close ALL resources (sockets, database connections, files and so on) in the finally block of a try-catch-finally structure. If you get an exception, your code will skip the rest of the code in a try block. The only way to make sure resources are freed is to use the finally block.