[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
cant seem to shake this class def not found  XML
Forum Index -> Ehcache
Author Message


Joined: 10/27/2010 10:56:53
Messages: 2

ive been attempting to set the following DSO configuration tomcat5.5 + terracotta + ehcache + annotations for insturmentation. I have managed to get tomcat up and running with the bootloader by following the directions for the DSO Custom install. i have no need for web sessions so i skipped that section of the instructions.

all and all everything is working and data is moving between my servers but then every once in a while this exception is thrown. i figure something has gone wrong with my setup somewhere but for the life of me i cant seem to track it down.

any ideas?

Exception in thread "UserLocationInfo Evictor" java.lang.NoClassDefFoundError: com/terracotta/toolkit/collections/ConcurrentDistributedMapDsoArray$AggregateLocalEntriesSnapshotCollection$1
         at com.terracotta.toolkit.collections.ConcurrentDistributedMapDsoArray$AggregateLocalEntriesSnapshotCollection.iterator(ConcurrentDistributedMapDsoArray.java:446)
         at org.terracotta.cache.TerracottaDistributedCache$EntrySnapshotIterator.<init>(TerracottaDistributedCache.java:303)
         at org.terracotta.cache.TerracottaDistributedCache.evictExpiredLocalElements(TerracottaDistributedCache.java:291)
         at com.terracotta.toolkit.cache.evictor.Evictor.run(Evictor.java:52)
         at com.terracotta.toolkit.cache.evictor.EvictionScheduler$EvictionRunner.run(EvictionScheduler.java:95)
         at java.lang.Thread.run(Thread.java:595)

my tc-config.xml
 <?xml version="1.0" encoding="UTF-8" ?>
 <tc:tc-config xmlns:tc="http://www.terracotta.org/config"
     <server host="">
       <module group-id="org.terracotta.toolkit" name="terracotta-toolkit-1.0" version="1.0.0" />
       <module name="tim-ehcache-2.x" />
       <module name="tim-tomcat-5.5" />
 	<module name="tim-vector" />



Joined: 10/27/2010 10:56:53
Messages: 2

i think i ended up fixing this issue. it went away when i saw the line in the custom setup that said the terracotta install directory was supposed to be local to the client. i was using a network drive to get that stuff. which was causing intermitent class defs not found.

so far so good but it seems weird that that was the fix.


Joined: 07/04/2011 04:36:10
Messages: 1491

Issue seems to be resolved.Please let us know if more information is required.

Rakesh Joshi
Senior Consultant
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team