Why still too many open files?

Hi,
Where are you "too many open files" ?
We have those messages at our client Side (Using java api) and we haven't made any modification at this side. At our client side, we have in fact problems with TIME_WAIT relations (not efficient close). we have changed the way we have coded that.