[JBoss-dev] [JBossCache] - Should it be possible to Serialize objects take from TreeCac

2005-02-01 Thread amayingenta
Hi, I'm trying to implement an application session cache using TreeCacheAop. I've had some problems with Stackoverflows that have now been resolved by using JBoss-AOP 1.1, but now that I'm able to put things into the cache I'm having some problems. Mostly the application willl communicate

[JBoss-dev] [JBossCache] - Re: Stack Overflow when using Collection classes in TreeCach

2005-01-13 Thread amayingenta
I've managed to get a more useful portion of the stack trace using a debugger: Thread [http-0.0.0.0-7001-Processor25] (Suspended (exception java.lang.StackOverflowError)) | org.jboss.aop.deployment.JBossClassPool(javassist.ClassPool).toClass(javassist.CtClass) line: 713 | ...

[JBoss-dev] [JBossCache] - Re: Stack Overflow when using Collection classes in TreeCach

2005-01-13 Thread amayingenta
Ben, I've raised http://jira.jboss.com/jira/browse/JBCACHE-37. It's been automatically assigned to Bela Ban, and I'm not sure whether I have permission to re-assign it. I've attached a simple test case that doesn't depend on any of our other code that reproduces the problem (for me at least).

[JBoss-dev] [JBossCache] - Stack Overflow when using Collection classes in TreeCacheAop

2005-01-12 Thread amayingenta
I'm using JBoss 4.0.1 on Linux with JDK1.5 (also 1.4.2 which has same problem), and I'm getting a stack overflow when I call putObject for a class that has a Collection field. java.lang.StackOverflowError | at javassist.ClassPool.toClass(ClassPool.java:713) | at

[JBoss-dev] [JBossCache] - Re: TreeCacheView/TreeCacheViewAop MBean Purpose

2004-10-21 Thread amayingenta
I'm running this inside JBoss 4, and I'm not sure what this MBean does either - because it doesn't seem to have any methods I can call (looking at the JMX-console) to display information about the cache (unlike TreeCacheAop which does have some useful methods). Perhaps it allows you to connect

[JBoss-dev] [JBossCache] - Re: Problems with using TreeCacheAop for the first time

2004-10-21 Thread amayingenta
Ben, thanks for your replies. I managed to work around my problem with the overloaded method by not preparing the class that was causing the problem (it's just a value in a Map, and I'll just pretend it's immutable whilst I'm testing!). So, I did manage to get my CounterLicense put into the

[JBoss-dev] [JBossCache] - Problems with using TreeCacheAop for the first time

2004-10-20 Thread amayingenta
Hi, Sorry if these are dumb questions - I'm afraid I'm trying to run before I can walk by trying to set-up two JBoss 4.0.0 servers with a distributed AOP cache, and I'm having a few problems. The main problem I'm having is trying to make my classes advisable/aspectized (I'm not sure of the

[JBoss-dev] [JBossCache] - Re: Problems with using TreeCacheAop for the first time

2004-10-20 Thread amayingenta
Here's an update. I ran AopC over my classes using the same jboss-aop.xml and it aspectized them. When I added the same objects to the TreeCacheAop it now appears to be trying to create a tree of the objects that compose my CounterLicense, but it fails with this error: