Hi Ben,
I've been looking through the logs. After adding the flag:
-Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader
when running my test apps, I can see that when starting the client app, a:
java.io.NotSerializableException: MyClass
is appearing on the server console logging - where "MyClass" is the classname of the
object I have added to the server cache. From reading through the TreeCacheAop
tutorial, I can see that I need to create a jboss-aop.xml file for my class "MyClass"
to be used in conjunction with the new class loader.
I've tried adding the "aopc" target to my ant build file so that I can create the
jboss-aop.xml file as per the build.xml file in the root directory of the release.
But am getting the following build error:
aopc:
[aopc] [deploying] file:/H:/java/source/build/etc/META-INF/jboss-aop.xml
[aopc] java.lang.RuntimeException: [error] failed to load aop path:
H:\java\source\build\etc\META-INF\jboss-aop.xml
I thought that the aopc target created the jboss-aop.xml file, but from the error it
appears that it requires it as an input?
Can you shed some light on what I am seeing? I've dug around the AOP wiki site for the
jboss-aop.xml file format (so I can manually create it) but can't find it.
Many thanks,
Ken
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847991#3847991
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847991
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development