diff --git a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/journal/Journal.java b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/journal/Journal.java index 182a3d7757..a48f8dd362 100644 --- a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/journal/Journal.java +++ b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/journal/Journal.java @@ -408,6 +408,8 @@ public class Journal { channel.force(false); channel.position(0); + } catch (ClosedByInterruptException ignored) { + LOG.trace("Could not preallocate journal file with zeros", ignored); } catch (IOException e) { LOG.error("Could not preallocate journal file with zeros! Will continue without preallocation", e); }