[jboss-user] [JBoss Cache: Core Edition] - Re: BerkeleyDB Deadlock Exception from JBoss Cache Loader: B

niuxuetao_fiserv do-not-reply at jboss.com
Mon Jun 22 15:08:20 EDT 2009


Maybe something useful to give:

Now I use 20 threads doing the same job (setting ockAcquisitionTimeout="4294967", all the rest configuration is the same as I pasted before), I experience a phenonemen which seems to be a "true deadlock" since no threads are running (jobs in the Threadpool Executor's queue are undone) and the cpu usage is zero. Then after a while, like 1 minute, one of the threads threw this:


  |  org.jboss.cache.pojo.PojoCacheException: attach failed /RTDE/time-distance-analysis-tdm/4207
  | 	at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:111)
  | 	at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:93)
  | 	at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:88)
  | 	at com.fiserv.detection.eventcache.jboss.JBossPojoCacheStorage.update(JBossPojoCacheStorage.java:50)
  | 	at com.fiserv.detection.eventcache.statemachine.CacheAccessor.save(CacheAccessor.java:117)
  | 	at com.fiserv.detection.eventcache.statemachine.CacheAccessor.matchOne(CacheAccessor.java:84)
  | 	at com.fiserv.detection.tda.TimeDistanceAnalysis.doDetection(TimeDistanceAnalysis.java:71)
  | 	... 53 more
  | Caused by: java.lang.IllegalStateException: Cache not in STARTED state!
  | 	at org.jboss.cache.invocation.CacheInvocationDelegate.cacheStatusCheck(CacheInvocationDelegate.java:660)
  | 	at org.jboss.cache.invocation.CacheInvocationDelegate.get(CacheInvocationDelegate.java:446)
  | 	at org.jboss.cache.pojo.impl.InternalHelper.get(InternalHelper.java:100)
  | 	at org.jboss.cache.pojo.impl.InternalHelper.getPojoReference(InternalHelper.java:47)
  | 	at org.jboss.cache.pojo.impl.InternalHelper.getPojo(InternalHelper.java:141)
  | 	at org.jboss.cache.pojo.impl.PojoCacheDelegate.putObject(PojoCacheDelegate.java:104)
  | 	at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:102)
  | 	... 59 more
  | 

Have you seen anything like this?

Regards,

Xuetao

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

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



More information about the jboss-user mailing list