CDV ❯ tim-ehcache types in shared object graph not exported to other classloaders
-
Bug
-
Status: Resolved
-
2 Major
-
Resolution: Won't Fix
-
-
-
interfaces
-
Reporter: gkeim
-
August 24, 2009
-
1
-
Watchers: 3
-
February 12, 2014
-
February 12, 2014
Description
http://forums.terracotta.org/forums/posts/reply/0/2433.page
It would seem com.tcclient.cache.CacheData should be exported from the bundle.
The user was modifying a collection containing EhCache entries, without proper locking. He was using the DSO Eclipse plug-in so it was trying to gather up the context of the UnlockedSharedObjectException when this NoClassDefFoundError occurred because CacheData is not available outside the bundle.
The workarounds include: not using the DSO Eclipse plug-in, modifying tim-ehcache to export the type in question, or add proper locking around the modifying code.
Comments
Tim Eck 2009-08-25
Gary Keim 2009-08-25
No, I did not.
Fiona OShea 2010-06-15
Until we can reproduce this issue I’m putting it in pending.
Fiona OShea 2010-06-15
http://forums.terracotta.org/forums/posts/list/2433.page
Hung Huynh 2014-02-12
DSO is discontinued
per chance did you reproduce this situation?