[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-15 Thread umk
bwang00 wrote : Well, the log says obj is non-advisable: | | | 2004-09-14 17:23:38,946 DEBUG [main] aop.TreeCacheAop (TreeCacheAop.java:281) - putObject(): obj is non-advisable. | | 2004-09-14 17:23:38,946 DEBUG [main] cache.TreeCache (TreeCache.java:2336) - _put(null,

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-15 Thread bwang00
If you are running under Tomcat, it'd be best to use aopc to pre-compile your advisable object. Check into the example in build.xml of aopc. That way, at least, you take the class loader out of the picture. -Ben View the original post :

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-14 Thread bwang00
Well, the log says obj is non-advisable: | 2004-09-14 17:23:38,946 DEBUG [main] aop.TreeCacheAop (TreeCacheAop.java:281) - putObject(): obj is non-advisable. | 2004-09-14 17:23:38,946 DEBUG [main] cache.TreeCache (TreeCache.java:2336) - _put(null, /aop/expresso/CacheManager/cacheLists,

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-13 Thread bwang00
You will still need jboss-aop to declare your object, UnOrderedCache, to be aspectized. Otherwise, aop will treat it as a regular object of which requires Serializable, and furthermore will not breakdown the object graph for UnOrderedCache. -Ben View the original post :

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-13 Thread umk
bwang00 wrote : You will still need jboss-aop to declare your object, UnOrderedCache, to be aspectized. Otherwise, aop will treat it as a regular object of which requires Serializable, and furthermore will not breakdown the object graph for UnOrderedCache. | | -Ben Thanks for your

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-13 Thread bwang00
Forget about the map and list. Why don't you do a putObject on UnderedCache to see if it gets replicated correctly? -Ben View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848097#3848097 Reply to the post :

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NotSerializableException using standalone TreeCacheAop

2004-09-12 Thread umk
... one additional comment. 'cachelists' in the code sample is a Map instance to which an UnOrderedCache instance is added View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847974#3847974 Reply to the post :