[ https://issues.apache.org/jira/browse/ARTEMIS-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
clebert suconic closed ARTEMIS-1959. ------------------------------------ Resolution: Fixed > server startup failure caused by './artemis data print' > ------------------------------------------------------- > > Key: ARTEMIS-1959 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1959 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Affects Versions: 2.6.2 > Reporter: tang pu > Priority: Minor > Fix For: 2.7.0 > > > "./artemis data print" causes artemis to fail to start > set the journal-file-size to 100M. > After executing " ./artemis data print", the Journal file list is as follows: > -rw-r--r-- 1 artemis activemq 104857600 Jun 28 15:56 activemq-data-1.amq > -rw-r--r-- 1 artemis activemq 104857600 Jun 28 15:56 activemq-data-2.amq > {color:#FF0000}*-rw-r--r-- 1 artemis activemq 10485760 Jun 28 16:12 > activemq-data-3.amq*{color} > {color:#FF0000}*-rw-r--r-- 1 artemis activemq 10485760 Jun 28 16:12 > activemq-data-4.amq*{color} > "./artemis run" > 2018-06-28 16:25:05,601 INFO [org.apache.activemq.artemis.core.server] > AMQ221034: Waiting indefinitely to obtain live lock > 2018-06-28 16:25:05,602 INFO [org.apache.activemq.artemis.core.server] > AMQ221035: Live Server Obtained live lock > *2018-06-28 16:25:05,788 ERROR [org.apache.activemq.artemis.core.server] > AMQ224000: Failure in initialisation: java.lang.IllegalStateException: the > file is not 104857600 bytes long!* -- This message was sent by Atlassian JIRA (v7.6.3#76005)