• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • ssubbiah
  • Reporter: ssubbiah
  • March 17, 2011
  • 0
  • Watchers: 5
  • July 27, 2012
  • April 26, 2011

Description

This came from a forum thread.

http://forums.terracotta.org/forums/posts/list/5109.page

Server dies with this exception.

2011-03-10 00:31:07,215 INFO - Terracotta Server instance has started up as ACTI VE node on 0.0.0.0:9510 successfully, and is now ready for work. java.lang.AssertionError: ManagedObjectImpl +–> identityHashCode: 53445334 +–> id: ObjectID=[2119] +–> className: com.terracotta.toolkit.collections.ConcurrentDistributedMapD so +–> version:664632 +–> state: MapManagedObjectState | +–> references: TCPersistableMap(2119)={ Map.size() = 1173, delta.size () = 1, removeCount = 0 }

+–> isDirty:true +–> isNew:false +–> isReferenced:true +–> next: false prev: false is DIRTY at com.tc.objectserver.impl.ObjectManagerImpl.removeReferenceIfNecessary (ObjectManagerImpl.java:796) at com.tc.objectserver.impl.ObjectManagerImpl.basicRelease(ObjectManager Impl.java:760) at com.tc.objectserver.impl.ObjectManagerImpl.releaseAllAndCommit(Object ManagerImpl.java:661) at com.tc.objectserver.tx.ServerTransactionManagerImpl.commit(ServerTran sactionManagerImpl.java:387) at com.tc.objectserver.handler.CommitTransactionChangeHandler.handleEven t(CommitTransactionChangeHandler.java:31) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:127)

Comments

Lucas Nelson 2011-04-27

The severity states “workaround available”. Could you please document the workaround?

Saravanan Subbiah 2011-04-27

The workaround is to run all your distributed Ehcache in “DCV2” mode and not in “classic” mode. The work around is only available for distributed Ehcache usecase.

Grace K 2011-04-28

I didn’t explicitly specify the “storageStrategy” and according to the documentation the default means “DCV2” mode is used. So, I don’t really understand the workaround.

“For Terracotta clustered caches, the DCV2 mode is used by default. The following is an example of a cache that explicitly sets this mode”

Thanks, Grace

Grace K 2011-04-28

My config is really simple.

Saravanan Subbiah 2011-04-28

Can u attach your server logs ?

Grace K 2011-05-05

Hi Saravanan,

Is it okay if you could give me your email address? I prefer to email it to you.

Thanks, Grace

Saravanan Subbiah 2011-05-06

ssubbiah at terracotta dot org