You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Eric (JIRA)" <ji...@apache.org> on 2010/09/23 17:49:40 UTC

[jira] Commented: (AMQ-2935) java.io.EOFException: Chunk stream does not exist at page on broker start

    [ https://issues.apache.org/activemq/browse/AMQ-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62040#action_62040 ] 

Eric commented on AMQ-2935:
---------------------------


I upgraded from 5.3.2 to 5.4.1. Some jars (spring) were updated.

If  I delete all files in activemq-data/xxxx/scheduler and then restart the process. It's OK

[sibModule@td0sib01s SIBBusModule-TestDeCharge-td0sib01s]$ ll scheduler
total 36
-rw-r--r-- 1 sibModule sibdev     0 Sep 23 17:39 db-1.log
-rw-r--r-- 1 sibModule sibdev     0 Sep 23 17:39 lock
-rw-r--r-- 1 sibModule sibdev 16384 Sep 23 17:39 scheduleDB.data
-rw-r--r-- 1 sibModule sibdev 16408 Sep 23 17:39 scheduleDB.redo

If I stop the process with a CTRL-C shutdown action and try to restart it without deleting the files, I have this error.

[sibModule@td0sib01s scheduler]$ ll
total 36
-rw-r--r-- 1 sibModule sibdev     0 Sep 23 17:39 db-1.log
-rw-r--r-- 1 sibModule sibdev 16384 Sep 23 17:44 scheduleDB.data
-rw-r--r-- 1 sibModule sibdev 16408 Sep 23 17:39 scheduleDB.redo

I have a MemoryPersistance configuration.




> java.io.EOFException: Chunk stream does not exist at page on broker start
> -------------------------------------------------------------------------
>
>                 Key: AMQ-2935
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2935
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.0, 5.4.1, 5.5.0
>         Environment: Win7 32bit, JDK 1.6_20
>            Reporter: Andy
>         Attachments: activemq-data.zip, activemq.xml
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.