[jboss-user] [JBossCache] - Getting versioning exception in jboss cache

Ashish Jha do-not-reply at jboss.com
Mon Jul 23 05:50:09 EDT 2007


I am getting versioning exception while using jboss cache. Please help me in solving this.


  | 2007-07-20 04:57:40,200 ERROR [org.jboss.cache.transaction.DummyTransaction] beforeCompletion() failed for tx=org.jboss.cache.transaction.DummyTransaction at 263887, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:17881, tx=org.jboss.cache.transaction.DummyTransaction at 263887)]
  | java.lang.RuntimeException: 
  | 	at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1091)
  | 	at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:75)
  | 	at org.jboss.cache.transaction.DummyTransaction.notifyBeforeCompletion(DummyTransaction.java:247)
  | 	at org.jboss.cache.transaction.DummyTransaction.commit(DummyTransaction.java:54)
  | 	at org.jboss.cache.transaction.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:61)
  | 	at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:349)
  | 	at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157)
  | 	at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
  | 	at org.jboss.cache.TreeCache.put(TreeCache.java:3678)
  | 	at com.tg.cache.manager.FareCacheProviderImpl.addToCache(FareCacheProviderImpl.java:104)
  | 	at com.tg.ws.abacus.AbacusFareService.putResponseInCache(AbacusFareService.java:615)
  | 	at com.tg.ws.abacus.AbacusFareService_1_5.getFaresFromCacheOrWSForRequest(AbacusFareService_1_5.java:187)
  | 	at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:29)
  | 	at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:15)
  | 	at com.tg.parallel.concurrent.JavaConcurrentPoolExecutor$CallableAdapter.call(JavaConcurrentPoolExecutor.java:93)
  | 	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
  | 	at java.util.concurrent.FutureTask.run(Unknown Source)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  | 	at java.lang.Thread.run(Unknown Source)
  | Caused by: org.jboss.cache.CacheException: DataNode [/fare/BOM/CCU/8/5/07 12:00 AM] version Ver=2 is newer than workspace node Ver=1
  | 	at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.simpleValidate(OptimisticValidatorInterceptor.java:127)
  | 	at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.validateNodes(OptimisticValidatorInterceptor.java:101)
  | 	at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.invoke(OptimisticValidatorInterceptor.java:66)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:95)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreInterceptor.java:135)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:197)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:804)
  | 	at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1069)
  | 	... 21 more
  | 2007-07-20 04:57:40,259 ERROR [org.jboss.cache.transaction.DummyTransaction] beforeCompletion() failed for tx=org.jboss.cache.transaction.DummyTransaction at 15a27c3, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:17883, tx=org.jboss.cache.transaction.DummyTransaction at 15a27c3)]
  | java.lang.RuntimeException: 
  | 	at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1091)
  | 	at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:75)
  | 	at org.jboss.cache.transaction.DummyTransaction.notifyBeforeCompletion(DummyTransaction.java:247)
  | 	at org.jboss.cache.transaction.DummyTransaction.commit(DummyTransaction.java:54)
  | 	at org.jboss.cache.transaction.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:61)
  | 	at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:349)
  | 	at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157)
  | 	at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
  | 	at org.jboss.cache.TreeCache.put(TreeCache.java:3678)
  | 	at com.tg.cache.manager.FareCacheProviderImpl.addToCache(FareCacheProviderImpl.java:104)
  | 	at com.tg.ws.abacus.AbacusFareService.putResponseInCache(AbacusFareService.java:615)
  | 	at com.tg.ws.abacus.AbacusFareService_1_5.getFaresFromCacheOrWSForRequest(AbacusFareService_1_5.java:188)
  | 	at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:29)
  | 	at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:15)
  | 	at com.tg.parallel.concurrent.JavaConcurrentPoolExecutor$CallableAdapter.call(JavaConcurrentPoolExecutor.java:93)
  | 	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
  | 	at java.util.concurrent.FutureTask.run(Unknown Source)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  | 	at java.lang.Thread.run(Unknown Source)
  | Caused by: org.jboss.cache.CacheException: DataNode [/fare/BOM/CCU/8/5/07 12:00 AM] version Ver=3 is newer than workspace node Ver=2
  | 	at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.simpleValidate(OptimisticValidatorInterceptor.java:127)
  | 	at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.validateNodes(OptimisticValidatorInterceptor.java:101)
  | 	at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.invoke(OptimisticValidatorInterceptor.java:66)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:95)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreInterceptor.java:135)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:197)
  | 	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | 	at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:804)
  | 	at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1069)
  | 	... 21 more
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066578#4066578

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066578



More information about the jboss-user mailing list