I saw a post from 10/31 regarding the ability to use TreeCache (not TreeCacheAop) for caching pojo's.
My cache is set up as synchronous and shared. When I try to cache a custom bean (in Eclipse) - I get the following error:
org.jboss.util.NestedRuntimeException: java.lang.ClassNotFoundException: com.thebbk.distributedcache.SomeBean; - nested throwable: (java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: com.dexmedia.distributedcache.SomeBean)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:4344)
at org.jboss.cache.TreeCache.put(TreeCache.java:3010)
at org.jboss.cache.TreeCache.put(TreeCache.java:2995)
........
I assume this is beacause the bean cannot be found. It is in the classpath within the context of Eclipse, is there some other place I need to set the classpath so JBossCache will see the bean?
where do you get the error? On the instance where you put something in cache, or on the other instance in the cluster?
Sounds like your classes are not avbl to both instances...