mirror of https://github.com/apache/activemq.git
apply fix from https://issues.apache.org/activemq/browse/AMQ-3007 - with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028637 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
518f0ce146
commit
d650d0c7e1
|
@ -66,6 +66,8 @@ public class LockFile {
|
|||
lock = readFile.getChannel().tryLock();
|
||||
} catch (OverlappingFileLockException e) {
|
||||
reason = IOExceptionSupport.create("File '" + file + "' could not be locked.",e);
|
||||
} catch (IOException ioe) {
|
||||
reason = ioe;
|
||||
}
|
||||
if (lock != null) {
|
||||
lockCounter++;
|
||||
|
|
Loading…
Reference in New Issue