1) I removed jboss-web-cluster.sar from the distribution and it worked fine.
2) I used the following jboss-aop.xml for aopc compilation and it worked fine. <?xml version="1.0" encoding="UTF-8"?> | <aop> | | <!-- If a POJO has JDK5 PojoCacheable annotation, it will be aspectized. --> | <prepare expr="field(* @org.jboss.cache.aop.annotation.PojoCacheable->*)" /> | | <!-- Make any POJO with a JDK5 PojoCacheable annotation as a Subject/Observerable --> | <bind pointcut="set(* @org.jboss.cache.aop.annotation.PojoCacheable->*)"> | <interceptor class="org.jboss.aspects.patterns.observable.SubjectInterceptor"/> | </bind> | | <introduction class="@org.jboss.cache.aop.annotation.PojoCacheable"> | <mixin> | <interfaces>org.jboss.aspects.patterns.observable.Subject</interfaces> | <class>org.jboss.aspects.patterns.observable.SubjectImpl</class> | <construction>new org.jboss.aspects.patterns.observable.SubjectImpl(this)</construction> | </mixin> | </introduction> | | <!-- If a POJO has JDK5 InstanceOfPojoCacheable annotation, it will be aspectized. --> | <prepare expr="field(* [EMAIL PROTECTED]>*)" /> | | <!-- Make any POJO with a JDK5 InstanceOfPojoCacheable annotation as a Subject/Observerable --> | <bind pointcut="set(* @org.jboss.cache.aop.annotation.InstanceOfPojoCacheable->*)"> | <interceptor class="org.jboss.aspects.patterns.observable.SubjectInterceptor"/> | </bind> | | <introduction class="@org.jboss.cache.aop.annotation.InstanceOfPojoCacheable"> | <mixin> | <interfaces>org.jboss.aspects.patterns.observable.Subject</interfaces> | <class>org.jboss.aspects.patterns.observable.SubjectImpl</class> | <construction>new org.jboss.aspects.patterns.observable.SubjectImpl(this)</construction> | </mixin> | </introduction> | | </aop> Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065306#4065306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065306 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user