[JBoss-dev] [JBossCache] - Re: TreeCache standalone, Tomcat 5.0.28, NoClassDefFoundErro

2004-10-15 Thread umk
"bwang00" wrote : OK, I think I know why. I have been using the latest jboss-head library. And it ran fine. The culprit is javassist.jar library. It seems it has that problem bundled in JBossCache1.1 release (I was able to re-produce your problem). | | Can you update the library from the lat

[JBoss-dev] [JBossCache] - Re: TreeCache standalone, Tomcat 5.0.28, NoClassDefFoundErro

2004-10-11 Thread umk
"bwang00" wrote : I have tested your example and it worked for me! | | I am also running Tomcat5.0.28 and JBossCache1.1. Before I ran your example, I copied the libraries from jboss-cache/lib to ROOT/WEB-INF/lib. E.g., jboss-*.jar, trove.jar, javassist.jar, etc. | | After I ran index2.j

[JBoss-dev] [JBossCache] - Re: TreeCache standalone, Tomcat 5.0.28, NoClassDefFoundErro

2004-10-08 Thread umk
"bwang00" wrote : I have downloaded Tomcat and am ready to look at this problem. Do you happen to have an example that you can send me so I can see it myself? | | Please send it to [EMAIL PROTECTED] | | Thanks, | | -Ben I have put together a sample application that produces the err

[JBoss-dev] [JBossCache] - Re: TreeCache standalone, Tomcat 5.0.28, NoClassDefFoundErro

2004-10-04 Thread umk
"bwang00" wrote : I will need to take a look myself to see why. | | -Ben Looking forward to hearing back! Please don't forget about me Ben :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850284#3850284 Reply to the post : http://www.jboss.org/index.ht

[JBoss-dev] [JBossCache] - TreeCache standalone, Tomcat 5.0.28, NoClassDefFoundError

2004-09-30 Thread umk
Hello, I'm trying to use TreeCacheAop/TreeCache functionality from within a web app deployed under Tomcat 5.0.28 (JDK1.4.2 and jbosscache 1.1 with aop 1.0rc1). I'm using the aopc to compile necessary classes (and therefore not using org.jboss.aop.standalone.SystemClassLoader) This is the error

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: NullPointerException, Map and values().iterator()

2004-09-21 Thread umk
Thanks for the info. Where can I find a list of what API TreeCacheAop supports and what it doesn't? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848956#3848956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848956

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - NullPointerException, Map and values().iterator()

2004-09-20 Thread umk
I'm trying to figure this one out: Person person = new Person(); | person.setHobbies(new HashMap()); | Iterator i = person.getHobbies().values().iterator(); | | Util.getClusterCache().putObject("/test", person); | person = (Person)Util.getClusterCache().getObject("/test"); | | i =

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

2004-09-15 Thread umk
Some more info... I've even reverted to using the org.jboss.test.cache.test.standAloneAop.Person instead of UnOrderedCache (setting -Djboss.aop.path=...path...\jboss-aop.xml) and I still get the same errors. These jars have been added to the tomcat/common/endorsed folder to support org.jboss.a

[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, "/aop/expresso

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

2004-09-14 Thread umk
"bwang00" wrote : Forget about the map and list. Why don't you do a putObject on UnderedCache to see if it gets replicated correctly? | | -Ben Same problem. Here's the updated code I'm running: if(Util.getClusterCache().exists("/aop/expresso/CacheManager/cacheLists")){ | } else { |

[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 feedba

[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=bb&op=viewtopic&p=3847974#3847974 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

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

2004-09-12 Thread umk
Scenario: Server A starts up and adds a Map to the cache using this code | ... | private static TreeCacheAop treeCache; | public static synchronized TreeCacheAop getClusterCache(){ | if(treeCache == null){ | try { | treeCache = new TreeCacheAop();