Saturday Jun 09

Links

Books

Key Concepts

User Menu

AddThis

AddThis Social Bookmark Button

Geronimo Problem : Chunk stream does not exist at page: 0 (ActiveMQ)

PDFPrintE-mail
Monday, 18 April 2011 15:53
AddThis Social Bookmark Button


Geronimo troubleshooting Troubleshooting Geronimo

Affected tools

 Name Version
 Geronimo Apache version 2.2.1 
ActiveMQ (embedded) version 3.1.2

Failed to start ActiveMQ Chunk stream does not exist at page: 0

If you get an error starting geronimo in ActiveMQ.

Geronimo problem chunck with ActiveMQ

2011-04-18 17:42:41,365 ERROR [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></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.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
        ................
2011-04-18 17:42:41,469 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/activemq-broker/2.2.1/car?ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2.1/car,j2eeType=JMSServer,name=DefaultActiveMQBroker"
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></init>(Transaction.java:431)
	at org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:428)
	at org.apache.kahadb.page.Transaction.load(Transaction.java:404)
        .................

To fix the issue delete the corrupted ActiveMQ databaseAs a solution delete the ActiveMQ scheduler 

  • Remove the folder scheduler located in  \activemq-data\DefaultActiveMQBroker\scheduler
  • Restart Apache Geronimo
Tags: version, geronimo, page, exist, chunk, stream, error, java.io.eofexception, apache, activemq, 431)

Add comment


Security code
Refresh