Hi Joseph,
Hmmm. When ServerThread gets the EOFException, it should close the socket which should move it out of the CLOSE_WAIT state. Can you identify the socket mentioned in the exception (the one with remote port 42933 in this case) with a socket in the CLOSE_WAIT state? Also, do you see the output of either
log.debug(this + " closing socketWrapper: " + socketWrapper);
or
log.error("failed to close socket wrapper", ex);
for that socket?
-Ron