This content has been marked as final.
Show 2 replies
-
1. Re: Object is not replicated after field update
fredrikj May 25, 2007 5:54 PM (in response to adrianaisemberg)Did you find out what the problem was? I'm fiddling around with pojocache myself and got the same error when running the examples from the distribution.
-
2. Re: Object is not replicated after field update
fredrikj May 26, 2007 5:58 AM (in response to adrianaisemberg)As a note I finally got it working by adding the arguments:
-javaagent:lib/jboss-aop-jdk50.jar -Djboss.aop.path=src/conf/META-INF/pojocache-aop.xml
and copying the pojocache-aop.xml from the distribution /resources.
I must say, I do find the documentation for this rather... confusing. It is not as concise at it could be anyway.
I have one question though, in the documentation it states that you can either precompile classes or runtime by using a special system classloader. But in section 7 it says:
7.3.1. Ant target for running load-time instrumentation using specialized class loader
In JDK5.0, you can use the javaagent option that does not require a separate Classloader. Here are the ant snippet from one-test-pojo, for example.
So... if I use this, do I still subsitute the system classloader or not?