activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] Commented: (AMQ-2935) Chunk stream does not exist at page on broker start
Date Tue, 05 Oct 2010 11:24:51 GMT


Gary Tully commented on AMQ-2935:

I have found a problem with the recovery processing in the kahaDB pageFile/index but the issue
only occurs when there has been an abortive close, as in the stop method of the broker was
not called or did not complete or a file write did not complete with the clean shutdown flag
With a successful call to broker.stop() the problem is avoided as there is no recovery of
the pageFile from the redo buffer at restart so it may not be the only issue here.

The latest 5.5-SNAPSHOT from maven or the repo has the fix. It would be great if you could

Andy, Krzysztof, Can you verify that the broker is actually stopped in your start/stop tests.There
should be messages in the log of the form: 10:55:37,927 [main ] INFO  JobSchedulerStore -
JobSchedulerStore:activemq-data/localhost/scheduler stopped

Eric, for your use case, schedulerSupport=false is sufficient.

> Chunk stream does not exist at page on broker start
> -------------------------------------------------------------------------
>                 Key: AMQ-2935
>                 URL:
>             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
>            Assignee: Gary Tully
>            Priority: Blocker
>         Attachments:, activemq.xml, stacktraces.txt
> 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
- Failed to start ActiveMQ JMS Message Broker. Reason: Chunk stream
does not exist at page: 0
> Chunk stream does not exist at page: 0
> 	at$2.readPage(
> 	at$2.<init>(
> 	at
> 	at
> 	at
> 	at$3.execute(
> 	at
> 	at
> 	at org.apache.activemq.util.ServiceSupport.start(
> 	at
> 	at
> 	at
> 	at
> 	at
> 	at
> 	at$3.start(
> 	at
> 	at org.apache.activemq.ra.ActiveMQResourceAdapter$

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

View raw message