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 08:42:50 GMT


Gary Tully commented on AMQ-2935:

{code}useShutdownHook="false"{code} is relevant. With a simple embedded broker Ctrl+C and
restart without the shutdown hook, the stores are not stopped, in fact the broker is not stopped.
A restart results in this problem every time. The store needs to be flushed on start which
will should help but requires some code changes. In addition, this exception should be trapped
such that it leads to recovery.

To work around, either {code}useShutdownHook="true"{code} needs to be used such that the broker
is stopped when the jvm is shutdown or there needs to be an explicit call to broker.stop()

> 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