java.io.EOFException: Chunk stream does not exist at page: 0
来源:互联网 发布:软件开发费用评估 编辑:程序博客网 时间:2024/06/07 05:31
http://www.cnblogs.com/kaka/archive/2012/03/15/2398215.html
ActiveMQ 启动异常
在按照 《ActiveMQ in Action》的操作步骤进行操作的时候,ActiveMQ异常终止后,总是不能启动,总是在报错误。
2012-03-14 14:45:13,552 | ERROR | Failed to start ActiveMQ JMS Message Broker. Reason: java.io.EOFException: Chunk stream does not exist at page: 0 | org.apache.activemq.broker.BrokerService | main
java.io.EOFException: Chunk stream does not exist at page: 0
at org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)
at org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:431)
at org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:428)
at org.apache.kahadb.page.Transaction.load(Transaction.java:404)
at org.apache.kahadb.page.Transaction.load(Transaction.java:361)
at org.apache.activemq.broker.scheduler.JobSchedulerStore$3.execute(JobSchedulerStore.java:250)
at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
at org.apache.activemq.broker.scheduler.JobSchedulerStore.doStart(JobSchedulerStore.java:239)
at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
at org.apache.activemq.broker.scheduler.SchedulerBroker.getStore(SchedulerBroker.java:198)
at org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalScheduler(SchedulerBroker.java:185)
at org.apache.activemq.broker.scheduler.SchedulerBroker.start(SchedulerBroker.java:85)
java.io.EOFException: Chunk stream does not exist at page: 0
at org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)
at org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:431)
at org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:428)
at org.apache.kahadb.page.Transaction.load(Transaction.java:404)
at org.apache.kahadb.page.Transaction.load(Transaction.java:361)
at org.apache.activemq.broker.scheduler.JobSchedulerStore$3.execute(JobSchedulerStore.java:250)
at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
at org.apache.activemq.broker.scheduler.JobSchedulerStore.doStart(JobSchedulerStore.java:239)
at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
at org.apache.activemq.broker.scheduler.SchedulerBroker.getStore(SchedulerBroker.java:198)
at org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalScheduler(SchedulerBroker.java:185)
at org.apache.activemq.broker.scheduler.SchedulerBroker.start(SchedulerBroker.java:85)
经过搜索了之后,悲催的发现这个是ActiveMQ5.4.1的一个bug。在5.5里面给解决了。
its a known bug and fixed in current trunk (5.5-SNAPSHOT).
https://issues.apache.org/jira/browse/AMQ-2935
但是为了避免在学习的过程中,因为版本不匹配等原因产生问题,于是继续搜索,终于找到了解决办法。主要是由于 5.4.1 这个版本引入延迟发送的功能引起的, 解决办法是在<broker>中添加 schedulerSupport="false" 属性,禁掉scheduler功能。
参照文章http://blog.csdn.net/technofantasy/article/details/6037295
代码
<broker xmlns="http://activemq.apache.org/schema/core " brokerName="SIBBusModule-TestDeCharge-td0sib01s" useJmx="true" persistent="false" useShutdownHook="false" schedulerSupport="false" >
还有就是删除activemq目录下的data/xxxx/scheduler 下的所有内容,不过这种我没有尝试
- java.io.EOFException: Chunk stream does not exist at page: 0
- activemq报错:Failed to start ActiveMQ JMS Message Broker. Reason: java.io.EOFException: Chunk stream d
- java.io.FileNotFoundException: Source '\tmp\upload__3a3bcc78_143699__8000_000014.tmp' does not exist
- hadoop :java.io.FileNotFoundException: File does not exist:
- Sorry, you requested a page that does not exist.
- This File Does Not Exist At The Requested Revision
- [Storm 0.8.2]: java.io.FileNotFoundException: File '../stormconf.ser' does not exist
- Caused by: java.io.FileNotFoundException:... cannot be opened because it does not exist
- java.io.FileNotFoundException: File does not exist: hdfs://mycluster/home/sqoop- 1.4.6/lib/commons-
- java.io.FileNotFoundException: class path resource ..cannot be opened because it does not exist
- java.io.EOFException: Unexpected end of ZLIB input stream
- java.io.EOFException: Unexpected end of input stream
- java.io.EOFException: Unexpected end of ZLIB input stream解决
- EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectI
- DocumentRoot does not exist
- mapreduce_shuffle does not exist
- @Scripts “does not exist”
- 'resourceFile' does not exist.
- mysql 中文首写字母排序
- C++ 从零单排(1)-基础知识一
- 把json对象串转换成map对象
- CIRCOS教程翻译 3.7——Focusing on a genome region
- 二叉树的遍历: 前序,中序,后序----非递归算法
- java.io.EOFException: Chunk stream does not exist at page: 0
- C++学习经典书籍
- iPhone/iPad全屏截图与区域截图的几种方法
- sina微博oAuth第三方登录代码示例
- 数据结构:图的定义和术语总结
- EOSS V2.0.4 企业运营支撑系统(基于RBAC原理的权限管理)
- unrecognized selector sent to instance 原因
- LoadRunner监视的性能计数器
- Stage的MinWidth和MinHeight的疑问