0 Replies Latest reply on Oct 22, 2005 9:22 PM by ejb3workshop

    Using EJB3 and AOP together without setting -Djboss.aop.clas

    ejb3workshop

      I managed to use EJB3 interceptors rather quickly, but I battled a long time getting AOP interceptors working on the same application server configuration. I am running 4.0.3 with the EJB3-RC3 patch.

      I red the section about using -javaagent:pluggable-instrumentor.jar etc and modifying the mbean at :

      http://docs.jboss.com/aop/1.1/aspect-framework/reference/en/html/running.html

      but it did not resolve my issue. The only way I could get my AOP to work was to add the

      -Djboss.aop.class.path=....

      to run.sh. I pointed it to the compiled classes.

      Is there another way I can configure JBoss to read the AOP'ed classes from the EJB3 file rather then the specified aop path ?

      Thanks
      Alex
      alex@ejb3workshop.com