diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/NodeManager.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/NodeManager.java index 9d54b928c5..73613bdf7d 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/NodeManager.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/NodeManager.java @@ -174,9 +174,6 @@ public abstract class NodeManager implements ActiveMQComponent { ActiveMQServerLogger.LOGGER.nodeManagerCantOpenFile(e, serverLockFile); throw e; } - if (!fileCreated) { - throw new IllegalStateException("Unable to create server lock file"); - } } @SuppressWarnings("resource")