Due to IOException cause file still open, the only way to unlock file is shutdown server,
I try to close file in IOException segment but get error,
We are pleasure for your help. Here is the part of code.
try {
RandomAccessFile in;
BufferedWriter out;
…
}
catch (IOException e) {
} finally {
try {
in.close();
out.close();
} catch (IOException e) {}
}