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
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
| ...
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).
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
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
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
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
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: