java.io.EOFException: Chunk stream does not exist at page: 0

Apache's JIRA Issue Tracker | Andy Gumbrecht | 6 years ago
  1. 0

    I am seeing this regularly upon restarts in all versions from 5.4.x - I cannot downgrade due to breaking issues in previous versions. The broker was shutdown cleanly with no logged issues. Deleting the activemq-data directory seems to be the only recovery solution (which is not an option in production) 2010-09-23 13:54:30,997 [Starting ActiveMQ Broker] ERROR org.apache.activemq.broker.BrokerService - Failed to start ActiveMQ JMS Message Broker. Reason: java.io.EOFException: Chunk stream does not exist at page: 0 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) at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157) at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157) at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112) at org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1786) at org.apache.activemq.broker.BrokerService.start(BrokerService.java:496) at org.apache.activemq.ra.ActiveMQResourceAdapter$1.run(ActiveMQResourceAdapter.java:85)

    Apache's JIRA Issue Tracker | 6 years ago | Andy Gumbrecht
    java.io.EOFException: Chunk stream does not exist at page: 0
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    I am seeing this regularly upon restarts in all versions from 5.4.x - I cannot downgrade due to breaking issues in previous versions. The broker was shutdown cleanly with no logged issues. Deleting the activemq-data directory seems to be the only recovery solution (which is not an option in production) 2010-09-23 13:54:30,997 [Starting ActiveMQ Broker] ERROR org.apache.activemq.broker.BrokerService - Failed to start ActiveMQ JMS Message Broker. Reason: java.io.EOFException: Chunk stream does not exist at page: 0 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) at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157) at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157) at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112) at org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1786) at org.apache.activemq.broker.BrokerService.start(BrokerService.java:496) at org.apache.activemq.ra.ActiveMQResourceAdapter$1.run(ActiveMQResourceAdapter.java:85)

    Apache's JIRA Issue Tracker | 6 years ago | Andy Gumbrecht
    java.io.EOFException: Chunk stream does not exist at page: 0
  4. 0

    Re: Starting geronimo after a crash

    geronimo-user | 6 years ago | Faw
    java.io.EOFException: Chunk stream does not exist at page: 0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.EOFException

      Chunk stream does not exist at page: 0

      at org.apache.kahadb.page.Transaction$2.readPage()
    2. ActiveMQ :: KahaDB
      Transaction.load
      1. org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)
      2. org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:431)
      3. org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:428)
      4. org.apache.kahadb.page.Transaction.load(Transaction.java:404)
      5. org.apache.kahadb.page.Transaction.load(Transaction.java:361)
      5 frames
    3. ActiveMQ :: Broker
      JobSchedulerStore$3.execute
      1. org.apache.activemq.broker.scheduler.JobSchedulerStore$3.execute(JobSchedulerStore.java:250)
      1 frame
    4. ActiveMQ :: KahaDB
      Transaction.execute
      1. org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
      1 frame
    5. ActiveMQ :: Broker
      BrokerService.start
      1. org.apache.activemq.broker.scheduler.JobSchedulerStore.doStart(JobSchedulerStore.java:239)
      2. org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
      3. org.apache.activemq.broker.scheduler.SchedulerBroker.getStore(SchedulerBroker.java:198)
      4. org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalScheduler(SchedulerBroker.java:185)
      5. org.apache.activemq.broker.scheduler.SchedulerBroker.start(SchedulerBroker.java:85)
      6. org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
      7. org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
      8. org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112)
      9. org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1786)
      10. org.apache.activemq.broker.BrokerService.start(BrokerService.java:496)
      10 frames
    6. ActiveMQ :: RA
      ActiveMQResourceAdapter$1.run
      1. org.apache.activemq.ra.ActiveMQResourceAdapter$1.run(ActiveMQResourceAdapter.java:85)
      1 frame