ActiveMQ Exception: java.io.EOFException: Chunk stream does not exist

解决办法:

方法1. 去掉延迟功能:<broker xmlns="http://activemq.apache.org/schema/core " brokerName="SIBBusModule-TestDeCharge-td0sib01s" useJmx="true" persistent="false" useShutdownHook="false" schedulerSupport="false" >

方法2. 删除activemq目录下的data/xxxx/scheduler 下的所有内容,尝试,我使用的是这种办法,因为我们需要迟延功能

方法3. 重装:)

后记:

搜索多个地方之后发现,这确实是activemq的一个bug,但是说是已经在5.4.1上修复过了:https://issues.apache.org/jira/browse/AMQ-2935,实则不然,因为我使用的是5.6.0,然后搜索后发现5.5.0上也报过这个bug: https://issues.apache.org/jira/browse/AMQ-3325,看来apache的team也有不靠谱的地方!

参考资料:

http://www.java-tutorial.ch/apache-geronimo/geronimo-problem-chunk-stream-does-not-exist-at-page-0

http://apache-geronimo.328035.n3.nabble.com/Server-Startup-failed-java-io-EOFException-Chunk-stream-does-not-exist-at-page-0-td3029278.html

原文地址:https://www.cnblogs.com/garinzhang/p/3340951.html