Broker in "standalone" mode is not starting anymore, due to a corrupted txlog file
eolivelli opened this issue · 0 comments
eolivelli commented
BUG REPORT
- Please describe the issue you observed:
Broker in "standalone" mode is not starting anymore, due to a corrupted txlog file
-
What did you do?
Restarted the service after an "out of disk space" error -
What did you expect to see?
Service il starting
- What did you see instead?
2020-05-05-11-24-25.287 java.lang.reflect.InvocationTargetException
2020-05-05-11-24-25.287 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-05-05-11-24-25.288 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-05-05-11-24-25.289 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-05-05-11-24-25.289 at java.base/java.lang.reflect.Method.invoke(Method.java:564)
2020-05-05-11-24-25.290 at magnews.server.ServiceStarter.start(ServiceStarter.java:383)
2020-05-05-11-24-25.291 at magnews.server.ServiceManager.main(ServiceManager.java:86)
2020-05-05-11-24-25.291 Caused by: java.lang.RuntimeException: majordodo.task.LogNotAvailableException: java.io.IOException: corrupted stream
2020-05-05-11-24-25.292 at majordodo.task.BrokerStatus.recover(BrokerStatus.java:971)
2020-05-05-11-24-25.293 at majordodo.task.Broker.start(Broker.java:220)
2020-05-05-11-24-25.293 at majordodo.embedded.EmbeddedBroker.start(EmbeddedBroker.java:234)
2020-05-05-11-24-25.294 at magnews.majordodo.broker.MajordodoBrokerService.start(MajordodoBrokerService.java:209)
2020-05-05-11-24-25.294 at magnews.broker.JMSBrokerServer.start(JMSBrokerServer.java:161)
2020-05-05-11-24-25.295 ... 6 more
2020-05-05-11-24-25.295 Caused by: majordodo.task.LogNotAvailableException: java.io.IOException: corrupted stream
2020-05-05-11-24-25.296 at majordodo.task.FileCommitLog.recovery(FileCommitLog.java:421)
2020-05-05-11-24-25.296 at majordodo.task.BrokerStatus.recover(BrokerStatus.java:960)
2020-05-05-11-24-25.318 ... 10 more
2020-05-05-11-24-25.319 Caused by: java.io.IOException: corrupted stream
2020-05-05-11-24-25.319 at majordodo.task.FileCommitLog$CommitFileReader.nextEntry(FileCommitLog.java:189)
2020-05-05-11-24-25.320 at majordodo.task.FileCommitLog.recovery(FileCommitLog.java:415)
2020-05-05-11-24-25.320 ... 11 more
2020-05-05-11-24-25.321 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
2020-05-05-11-24-25.321 at magnews.server.ServiceStarter.start(ServiceStarter.java:389)
2020-05-05-11-24-25.322 at magnews.server.ServiceManager.main(ServiceManager.java:86)
2020-05-05-11-24-25.322 Caused by: java.lang.reflect.InvocationTargetException
2020-05-05-11-24-25.323 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-05-05-11-24-25.324 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-05-05-11-24-25.324 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-05-05-11-24-25.325 at java.base/java.lang.reflect.Method.invoke(Method.java:564)
2020-05-05-11-24-25.326 at magnews.server.ServiceStarter.start(ServiceStarter.java:383)
2020-05-05-11-24-25.326 ... 1 more
2020-05-05-11-24-25.326 Caused by: java.lang.RuntimeException: majordodo.task.LogNotAvailableException: java.io.IOException: corrupted stream
2020-05-05-11-24-25.327 at majordodo.task.BrokerStatus.recover(BrokerStatus.java:971)
2020-05-05-11-24-25.328 at majordodo.task.Broker.start(Broker.java:220)
2020-05-05-11-24-25.328 at majordodo.embedded.EmbeddedBroker.start(EmbeddedBroker.java:234)
2020-05-05-11-24-25.329 at magnews.majordodo.broker.MajordodoBrokerService.start(MajordodoBrokerService.java:209)
2020-05-05-11-24-25.330 at magnews.broker.JMSBrokerServer.start(JMSBrokerServer.java:161)
2020-05-05-11-24-25.330 ... 6 more
2020-05-05-11-24-25.330 Caused by: majordodo.task.LogNotAvailableException: java.io.IOException: corrupted stream
2020-05-05-11-24-25.331 at majordodo.task.FileCommitLog.recovery(FileCommitLog.java:421)
2020-05-05-11-24-25.331 at majordodo.task.BrokerStatus.recover(BrokerStatus.java:960)
2020-05-05-11-24-25.332 ... 10 more
2020-05-05-11-24-25.332 Caused by: java.io.IOException: corrupted stream
2020-05-05-11-24-25.333 at majordodo.task.FileCommitLog$CommitFileReader.nextEntry(FileCommitLog.java:189)
2020-05-05-11-24-25.333 at majordodo.task.FileCommitLog.recovery(FileCommitLog.java:415)
2020-05-05-11-24-25.334 ... 11 more
2020-05-05-11-25-27.994 Current process PID:77896