clarencen/lshift — Issue #83: UpdateTimestampsCache is not alive
Author: clarencen
Created: 2011-11-14 22:41:38+00:00
State: open

@@@
14:30:58.161 [akka:event-driven:dispatcher:global-7] ERROR PairActor:372 - Failed to difference pair diffa/Staging7-CurrentYear
org.hibernate.cache.CacheException: java.lang.IllegalStateException: The org.hibernate.cache.UpdateTimestampsCache Cache is not alive.
at net.sf.ehcache.hibernate.regions.EhcacheGeneralDataRegion.put(EhcacheGeneralDataRegion.java:82) ~[ehcache-core-2.2.0.jar:na]
at net.sf.ehcache.hibernate.regions.EhcacheTimestampsRegion.put(EhcacheTimestampsRegion.java:29) ~[ehcache-core-2.2.0.jar:na]
at org.hibernate.cache.UpdateTimestampsCache.invalidate(UpdateTimestampsCache.java:99) ~[hibernate-core-3.6.7-2L.jar:3.6.7-2L]
at org.hibernate.engine.ActionQueue$AfterTransactionCompletionProcessQueue.afterTransactionCompletion(ActionQueue.java:604) ~[hibernate-core-3.6.7-2L.jar:3.6.7-2L]
at org.hibernate.engine.ActionQueue.afterTransactionCompletion(ActionQueue.java:209) ~[hibernate-core-3.6.7-2L.jar:3.6.7-2L]
at org.hibernate.impl.SessionImpl.afterTransactionCompletion(SessionImpl.java:602) ~[hibernate-core-3.6.7-2L.jar:3.6.7-2L]
at org.hibernate.jdbc.JDBCContext.afterTransactionCompletion(JDBCContext.java:273) ~[hibernate-core-3.6.7-2L.jar:3.6.7-2L]
at org.hibernate.jdbc.JDBCContext.connectionCleanedUp(JDBCContext.java:138) ~[hibernate-core-3.6.7-2L.jar:3.6.7-2L]
at org.hibernate.jdbc.ConnectionManager.cleanup(ConnectionManager.java:417) ~[hibernate-core-3.6.7-2L.jar:3.6.7-2L]
at org.hibernate.jdbc.ConnectionManager.close(ConnectionManager.java:347) ~[hibernate-core-3.6.7-2L.jar:3.6.7-2L]
at org.hibernate.impl.SessionImpl.close(SessionImpl.java:343) ~[hibernate-core-3.6.7-2L.jar:3.6.7-2L]
at net.lshift.diffa.kernel.util.SessionHelper.withSession(SessionHelper.scala:38) ~[diffa-kernel-0.9-SNAPSHOT.jar:na]
at net.lshift.diffa.kernel.differencing.HibernateDomainDifferenceStore.addReportableUnmatchedEvent(HibernateDomainDifferenceStore.scala:75) ~[diffa-kernel-0.9-SNAPSHOT.jar:na]
at net.lshift.diffa.kernel.differencing.DefaultDifferencesManager.reportUnmatched(DefaultDifferencesManager.scala:263) ~[diffa-kernel-0.9-SNAPSHOT.jar:na]
at net.lshift.diffa.kernel.differencing.DefaultDifferencesManager.onMismatch(DefaultDifferencesManager.scala:186) ~[diffa-kernel-0.9-SNAPSHOT.jar:na]
at net.lshift.diffa.kernel.differencing.DefaultDifferencesManager$$anon$1.writeMismatch(DefaultDifferencesManager.scala:71) ~[diffa-kernel-0.9-SNAPSHOT.jar:na]
at net.lshift.diffa.kernel.differencing.BaseScanningVersionPolicy$$anonfun$replayUnmatchedDifferences$1.apply(BaseScanningVersionPolicy.scala:96) ~[diffa-kernel-0.9-SNAPSHOT.jar:na]
at net.lshift.diffa.kernel.differencing.BaseScanningVersionPolicy$$anonfun$replayUnmatchedDifferences$1.apply(BaseScanningVersionPolicy.scala:96) ~[diffa-kernel-0.9-SNAPSHOT.jar:na]
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) ~[scala-library-2.9.0-1.jar:na]
at scala.collection.immutable.List.foreach(List.scala:45) ~[scala-library-2.9.0-1.jar:na]
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:30) ~[scala-library-2.9.0-1.jar:na]
at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:42) ~[scala-library-2.9.0-1.jar:na]
at net.lshift.diffa.kernel.differencing.BaseScanningVersionPolicy.replayUnmatchedDifferences(BaseScanningVersionPolicy.scala:95) ~[diffa-kernel-0.9-SNAPSHOT.jar:na]
at net.lshift.diffa.kernel.actors.PairActor.handleDifferenceMessage(PairActor.scala:362) [diffa-kernel-0.9-SNAPSHOT.jar:na]
at net.lshift.diffa.kernel.actors.PairActor$$anonfun$receive$1.apply(PairActor.scala:204) [diffa-kernel-0.9-SNAPSHOT.jar:na]
at net.lshift.diffa.kernel.actors.PairActor$$anonfun$receive$1.apply(PairActor.scala:196) [diffa-kernel-0.9-SNAPSHOT.jar:na]
at akka.actor.Actor$class.apply(Actor.scala:545) [akka-actor-1.2.jar:na]
at net.lshift.diffa.kernel.actors.PairActor.apply(PairActor.scala:38) [diffa-kernel-0.9-SNAPSHOT.jar:na]
at akka.actor.LocalActorRef.invoke(ActorRef.scala:905) [akka-actor-1.2.jar:na]
at akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:25) [akka-actor-1.2.jar:na]
at akka.dispatch.ExecutableMailbox$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:216) [akka-actor-1.2.jar:na]
at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:122) [akka-actor-1.2.jar:na]
at akka.dispatch.ExecutableMailbox$class.run(ExecutorBasedEventDrivenDispatcher.scala:188) [akka-actor-1.2.jar:na]
at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.run(ExecutorBasedEventDrivenDispatcher.scala:122) [akka-actor-1.2.jar:na]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_16]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_16]
at java.lang.Thread.run(Thread.java:619) [na:1.6.0_16]
at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:184) [akka-actor-1.2.jar:na]
Caused by: java.lang.IllegalStateException: The org.hibernate.cache.UpdateTimestampsCache Cache is not alive.
at net.sf.ehcache.Cache.checkStatus(Cache.java:2199) ~[ehcache-core-2.2.0.jar:na]
at net.sf.ehcache.Cache.putInternal(Cache.java:1201) ~[ehcache-core-2.2.0.jar:na]
at net.sf.ehcache.Cache.put(Cache.java:1186) ~[ehcache-core-2.2.0.jar:na]
at net.sf.ehcache.Cache.put(Cache.java:1158) ~[ehcache-core-2.2.0.jar:na]
at net.sf.ehcache.hibernate.regions.EhcacheGeneralDataRegion.put(EhcacheGeneralDataRegion.java:78) ~[ehcache-core-2.2.0.jar:na]
... 37 common frames omitted
@@@