activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ives <ives.stodd...@gmail.com>
Subject Failed to reset batching ... PageFile is not loaded
Date Thu, 13 Jan 2011 18:37:43 GMT

Has anyone seen log errors like the following?

2011-01-11 03:42:00,997 | ERROR | Failed to reset batching |
org.apache.activemq.store.kahadb.KahaDBStore | Thread-2002
java.lang.IllegalStateException: PageFile is not loaded
        at org.apache.kahadb.page.PageFile.assertLoaded(PageFile.java:721)
        at org.apache.kahadb.page.PageFile.tx(PageFile.java:239)
        at
org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.resetBatching(KahaDBStore.java:512)
        at
org.apache.activemq.store.ProxyMessageStore.resetBatching(ProxyMessageStore.java:93)
        at
org.apache.activemq.broker.region.cursors.QueueStorePrefetch.resetBatch(QueueStorePrefetch.java:85)
        at
org.apache.activemq.broker.region.cursors.AbstractStoreCursor.stop(AbstractStoreCursor.java:69)
        at
org.apache.activemq.broker.region.cursors.StoreQueueCursor.stop(StoreQueueCursor.java:84)
        at org.apache.activemq.broker.region.Queue.stop(Queue.java:853)
        at
org.apache.activemq.broker.region.AbstractRegion.stop(AbstractRegion.java:110)
        at
org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
        at
org.apache.activemq.broker.region.RegionBroker.doStop(RegionBroker.java:713)
        at
org.apache.activemq.broker.jmx.ManagedRegionBroker.doStop(ManagedRegionBroker.java:113)
        at
org.apache.activemq.broker.region.RegionBroker.stop(RegionBroker.java:213)
        at
org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:161)
        at
org.apache.activemq.broker.scheduler.SchedulerBroker.stop(SchedulerBroker.java:104)
        at
org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:161)
        at
org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:161)
        at
org.apache.activemq.broker.TransactionBroker.stop(TransactionBroker.java:114)
        at
org.apache.activemq.broker.BrokerService$3.stop(BrokerService.java:1773)
        at
org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
        at
org.apache.activemq.broker.BrokerService.stop(BrokerService.java:575)
        at
org.apache.activemq.console.command.StartCommand$1.run(StartCommand.java:135)

or, on shutdown (including subsequent shutdowns)...

2011-01-11 10:34:39,652 | ERROR | Failed to reset batching |
org.apache.activemq.store.kahadb.KahaDBStore | ActiveMQ ShutdownHook
java.lang.IllegalStateException: PageFile is not loaded
        at org.apache.kahadb.page.PageFile.assertLoaded(PageFile.java:721)
        at org.apache.kahadb.page.PageFile.tx(PageFile.java:239)
        at
org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.resetBatching(KahaDBStore.java:512)
        at
org.apache.activemq.store.ProxyMessageStore.resetBatching(ProxyMessageStore.java:93)
        at
org.apache.activemq.broker.region.cursors.QueueStorePrefetch.resetBatch(QueueStorePrefetch.java:85)
        at
org.apache.activemq.broker.region.cursors.AbstractStoreCursor.stop(AbstractStoreCursor.java:69)
        at
org.apache.activemq.broker.region.cursors.StoreQueueCursor.stop(StoreQueueCursor.java:84)
        at org.apache.activemq.broker.region.Queue.stop(Queue.java:853)
        at
org.apache.activemq.broker.region.AbstractRegion.stop(AbstractRegion.java:110)
        at
org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
        at
org.apache.activemq.broker.region.RegionBroker.doStop(RegionBroker.java:713)
        at
org.apache.activemq.broker.jmx.ManagedRegionBroker.doStop(ManagedRegionBroker.java:113)
        at
org.apache.activemq.broker.region.RegionBroker.stop(RegionBroker.java:213)
        at
org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:161)
        at
org.apache.activemq.broker.scheduler.SchedulerBroker.stop(SchedulerBroker.java:104)
        at
org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:161)
        at
org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:161)
        at
org.apache.activemq.broker.TransactionBroker.stop(TransactionBroker.java:114)
        at
org.apache.activemq.broker.BrokerService$3.stop(BrokerService.java:1773)
        at
org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
        at
org.apache.activemq.broker.BrokerService.stop(BrokerService.java:575)
        at
org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1971)
        at
org.apache.activemq.broker.BrokerService$4.run(BrokerService.java:1938)


While deleting the datastore files and restarting will resolve this, this
presents problems for a datastore with messages.

If you run into the above, please see AMQ-3131 
(https://issues.apache.org/jira/browse/AMQ-3131).

-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Failed-to-reset-batching-PageFile-is-not-loaded-tp3216393p3216393.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message