activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (AMQ-2935) java.io.EOFException: Chunk stream does not exist at page on broker start
Date Thu, 23 Sep 2010 16:07:41 GMT

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

Eric edited comment on AMQ-2935 at 9/23/10 12:06 PM:
-----------------------------------------------------

When I add
schedulerSupport="false"

in the "broker" configuration, It seems OK. No activemq-data directory nor files below are
created.

Example :

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="SIBBusModule-TestDeCharge-td0sib01s"
useJmx="true" persistent="false" useShutdownHook="false" schedulerSupport="false">




      was (Author: eric-awl):
    en ajoutant 
schedulerSupport="false"

dans la configuration "broker", cela semble fonctionner comme avant. Il n'y a pas de répertoires
activemq-data, ni de fichiers créés dessous.

Exemple :

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="SIBBusModule-TestDeCharge-td0sib01s"
useJmx="true" persistent="false" useShutdownHook="false" schedulerSupport="false">



  
> 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.


Mime
View raw message