camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-3317) HawtDB throws IOPagingException
Date Sat, 06 Nov 2010 08:30:00 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63117#action_63117
] 

Claus Ibsen commented on CAMEL-3317:
------------------------------------

Can you try with Camel 2.5.0 which has been released.
And make sure you use the latest release of HawtDB (It should be 1.5.0 afair)

And what do you mean by "still running"?

And how do you start/stop your application?

> HawtDB throws IOPagingException
> -------------------------------
>
>                 Key: CAMEL-3317
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3317
>             Project: Apache Camel
>          Issue Type: Bug
>            Reporter: Glenn Moss
>
> When running Camel when the HawtDB file does not exist, and is created on startup we
see errors like:
> {noformat}
> [DefaultMessageListenerContainer-1] WARN  org.apache.camel.component.hawtdb.HawtDBFile
- Error executing work Getting key [24059] will do rollback.
> org.fusesource.hawtdb.api.IOPagingException: Invalid extent read request.  The requested
page was not an extent: 34
> 	at org.fusesource.hawtdb.internal.page.Extent.readHeader(Extent.java:85)
> 	at org.fusesource.hawtdb.internal.page.Extent.free(Extent.java:251)
> 	at org.fusesource.hawtdb.internal.page.Extent.free(Extent.java:245)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.syncBatches(HawtTxPageFile.java:684)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.flush(HawtTxPageFile.java:523)
> 	at org.apache.camel.component.hawtdb.HawtDBFile.doExecute(HawtDBFile.java:163)
> 	at org.apache.camel.component.hawtdb.HawtDBFile.execute(HawtDBFile.java:106)
> 	at org.apache.camel.component.hawtdb.HawtDBAggregationRepository.get(HawtDBAggregationRepository.java:144)
> 	at org.apache.camel.processor.aggregate.AggregateProcessor.doAggregation(AggregateProcessor.java:208)
> 	at org.apache.camel.processor.aggregate.AggregateProcessor.process(AggregateProcessor.java:185)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:143)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:78)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:197)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:151)
> 	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
> 	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:144)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:119)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:90)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
> 	at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:91)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:241)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1056)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1048)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
> 	at java.lang.Thread.run(Thread.java:662)
> [DefaultMessageListenerContainer-1] ERROR org.apache.camel.processor.DefaultErrorHandler
- Failed delivery for exchangeId: ID:a511-qa.boi.kount.net-51517-1288382236588-2:179941:-1:1:1.
Exhausted after delivery attempt: 1 caught: org.fusesource.hawtdb.api.IOPagingException: Invalid
extent read request.  The requested page was not an extent: 34
> org.fusesource.hawtdb.api.IOPagingException: Invalid extent read request.  The requested
page was not an extent: 34
> 	at org.fusesource.hawtdb.internal.page.Extent.readHeader(Extent.java:85)
> 	at org.fusesource.hawtdb.internal.page.Extent.free(Extent.java:251)
> 	at org.fusesource.hawtdb.internal.page.Extent.free(Extent.java:245)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.syncBatches(HawtTxPageFile.java:684)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.flush(HawtTxPageFile.java:523)
> 	at org.apache.camel.component.hawtdb.HawtDBFile.doExecute(HawtDBFile.java:163)
> 	at org.apache.camel.component.hawtdb.HawtDBFile.execute(HawtDBFile.java:106)
> 	at org.apache.camel.component.hawtdb.HawtDBAggregationRepository.get(HawtDBAggregationRepository.java:144)
> 	at org.apache.camel.processor.aggregate.AggregateProcessor.doAggregation(AggregateProcessor.java:208)
> 	at org.apache.camel.processor.aggregate.AggregateProcessor.process(AggregateProcessor.java:185)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:143)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:78)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:197)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:151)
> 	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
> 	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:144)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:119)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:90)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
> 	at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:91)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:241)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1056)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1048)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
> 	at java.lang.Thread.run(Thread.java:662)
> [DefaultMessageListenerContainer-1] WARN  org.apache.camel.spring.spi.TransactionErrorHandler
- Transaction rollback (0x5dd6c336) for ExchangeId: ID:a511-qa.boi.kount.net-51517-1288382236588-2:179941:-1:1:1
due exception: org.fusesource.hawtdb.api.IOPagingException: Invalid extent read request. 
The requested page was not an extent: 34
> [DefaultMessageListenerContainer-1] ERROR org.apache.camel.component.jms.EndpointMessageListener
- Caused by: [org.apache.camel.RuntimeCamelException - org.fusesource.hawtdb.api.IOPagingException:
Invalid extent read request.  The requested page was not an extent: 34]
> org.apache.camel.RuntimeCamelException: org.fusesource.hawtdb.api.IOPagingException:
Invalid extent read request.  The requested page was not an extent: 34
> 	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1140)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:162)
> 	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
> 	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:144)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:119)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:90)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
> 	at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:91)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:241)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1056)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1048)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: org.fusesource.hawtdb.api.IOPagingException: Invalid extent read request.
 The requested page was not an extent: 34
> 	at org.fusesource.hawtdb.internal.page.Extent.readHeader(Extent.java:85)
> 	at org.fusesource.hawtdb.internal.page.Extent.free(Extent.java:251)
> 	at org.fusesource.hawtdb.internal.page.Extent.free(Extent.java:245)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.syncBatches(HawtTxPageFile.java:684)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.flush(HawtTxPageFile.java:523)
> 	at org.apache.camel.component.hawtdb.HawtDBFile.doExecute(HawtDBFile.java:163)
> 	at org.apache.camel.component.hawtdb.HawtDBFile.execute(HawtDBFile.java:106)
> 	at org.apache.camel.component.hawtdb.HawtDBAggregationRepository.get(HawtDBAggregationRepository.java:144)
> 	at org.apache.camel.processor.aggregate.AggregateProcessor.doAggregation(AggregateProcessor.java:208)
> 	at org.apache.camel.processor.aggregate.AggregateProcessor.process(AggregateProcessor.java:185)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:143)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:78)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:197)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:151)
> 	... 34 more
> [DefaultMessageListenerContainer-1] WARN  org.springframework.jms.listener.DefaultMessageListenerContainer
- Execution of JMS message listener failed, and no ErrorHandler has been set.
> org.apache.camel.RuntimeCamelException: org.fusesource.hawtdb.api.IOPagingException:
Invalid extent read request.  The requested page was not an extent: 34
> 	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1140)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:162)
> 	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
> 	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:144)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:119)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:90)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
> 	at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:91)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:241)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1056)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1048)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: org.fusesource.hawtdb.api.IOPagingException: Invalid extent read request.
 The requested page was not an extent: 34
> 	at org.fusesource.hawtdb.internal.page.Extent.readHeader(Extent.java:85)
> 	at org.fusesource.hawtdb.internal.page.Extent.free(Extent.java:251)
> 	at org.fusesource.hawtdb.internal.page.Extent.free(Extent.java:245)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.syncBatches(HawtTxPageFile.java:684)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.flush(HawtTxPageFile.java:523)
> 	at org.apache.camel.component.hawtdb.HawtDBFile.doExecute(HawtDBFile.java:163)
> 	at org.apache.camel.component.hawtdb.HawtDBFile.execute(HawtDBFile.java:106)
> 	at org.apache.camel.component.hawtdb.HawtDBAggregationRepository.get(HawtDBAggregationRepository.java:144)
> 	at org.apache.camel.processor.aggregate.AggregateProcessor.doAggregation(AggregateProcessor.java:208)
> 	at org.apache.camel.processor.aggregate.AggregateProcessor.process(AggregateProcessor.java:185)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:143)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:78)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:62)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:197)
> 	at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:151)
> 	... 34 more
> {noformat}
> When you restart Camel and the HawtDB file that was created from the previous run still
exists, Camel fails to properly start and you get:
> {noformat}
> [main] INFO  org.apache.camel.impl.MainSupport - Apache Camel 2.5-SNAPSHOT starting
> [main] INFO  org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@67006d75: startup date
[Fri Nov 05 11:14:17 PDT 2010]; root of context hierarchy
> [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading
XML bean definitions from URL [redacted]
> [main] INFO  org.apache.camel.spring.handler.CamelNamespaceHandler - OSGi environment
not detected.
> [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading
XML bean definitions from file [redacted]
> [main] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating
singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@32d8ca48:
defining beans [jmsConnectionFactory,jmsTransactionManager,activemq,template,consumerTemplate,camel:beanPostProcessor,camel,ensRouteBuilder];
root of factory hierarchy
> [main] INFO  org.apache.camel.impl.converter.AnnotationTypeConverterLoader - Found 5
packages with 17 @Converter classes to load
> [main] INFO  org.apache.camel.impl.converter.DefaultTypeConverter - Loaded 158 type converters
in 0.294 seconds
> [main] INFO  org.apache.camel.impl.DefaultCamelContext - Apache Camel 2.5-SNAPSHOT (CamelContext:
camel) is starting
> [main] INFO  org.apache.camel.impl.DefaultCamelContext - JMX enabled. Using ManagedManagementStrategy.
> [main] INFO  org.apache.camel.impl.DefaultCamelContext - Apache Camel 2.5-SNAPSHOT (CamelContext:camel)
is shutting down
> [main] INFO  org.apache.camel.impl.DefaultShutdownStrategy - Starting to graceful shutdown
0 routes (timeout 300 seconds)
> [main] INFO  org.apache.camel.impl.DefaultShutdownStrategy - Graceful shutdown of 0 routes
completed in 0 seconds
> [main] INFO  org.apache.camel.impl.DefaultInflightRepository - Shutting down with no
inflight exchanges.
> [main] INFO  org.apache.camel.impl.DefaultCamelContext - Uptime: 0.733 seconds
> [main] INFO  org.apache.camel.impl.DefaultCamelContext - Apache Camel 2.5-SNAPSHOT (CamelContext:
camel) is shutdown in 0.007 seconds
> [main] INFO  org.apache.camel.impl.MainSupport - Apache Camel 2.5-SNAPSHOT stopping
> Exception in thread "main" org.apache.camel.RuntimeCamelException: org.fusesource.hawtdb.api.IOPagingException:
Invalid extent read request.  The requested page was not an extent: 34
> 	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1140)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:103)
> 	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:236)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
> 	at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
> 	at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94)
> 	at org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:209)
> 	at org.apache.camel.spring.Main.doStart(Main.java:173)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.impl.MainSupport.run(MainSupport.java:114)
> 	at org.apache.camel.impl.MainSupport.run(MainSupport.java:291)
> 	at org.apache.camel.spring.Main.main(Main.java:97)
> Caused by: org.fusesource.hawtdb.api.IOPagingException: Invalid extent read request.
 The requested page was not an extent: 34
> 	at org.fusesource.hawtdb.internal.page.Extent.readHeader(Extent.java:85)
> 	at org.fusesource.hawtdb.internal.page.Extent.readOpen(Extent.java:94)
> 	at org.fusesource.hawtdb.internal.page.ExtentInputStream.<init>(ExtentInputStream.java:45)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.loadObject(HawtTxPageFile.java:878)
> 	at org.fusesource.hawtdb.internal.page.HawtTxPageFile.recover(HawtTxPageFile.java:473)
> 	at org.fusesource.hawtdb.api.TxPageFileFactory.open(TxPageFileFactory.java:56)
> 	at org.apache.camel.component.hawtdb.HawtDBFile.start(HawtDBFile.java:72)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.component.hawtdb.HawtDBAggregationRepository.doStart(HawtDBAggregationRepository.java:489)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.aggregate.AggregateProcessor.doStart(AggregateProcessor.java:776)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.DelegateProcessor.doStart(DelegateProcessor.java:76)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:77)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.doStart(TraceInterceptor.java:423)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:839)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.DefaultChannel.doStart(DefaultChannel.java:143)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:77)
> 	at org.apache.camel.processor.MulticastProcessor.doStart(MulticastProcessor.java:644)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.processor.WrapProcessor.doStart(WrapProcessor.java:42)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:77)
> 	at org.apache.camel.processor.interceptor.TraceInterceptor.doStart(TraceInterceptor.java:423)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:839)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.DefaultChannel.doStart(DefaultChannel.java:143)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:77)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:63)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:77)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)
> 	at org.apache.camel.impl.RouteService.startChildService(RouteService.java:233)
> 	at org.apache.camel.impl.RouteService.warmUp(RouteService.java:136)
> 	at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:1691)
> 	at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1617)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1416)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1311)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1210)
> 	at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:164)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1188)
> 	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:203)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:101)
> 	... 14 more
> [Thread-1] INFO  org.apache.camel.spring.Main$HangupInterceptor - Received hang up -
stopping the main instance.
> {noformat}
> The page number (in this case 34) varies from run to run.

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