3 Replies Latest reply on Sep 23, 2004 3:38 PM by bill.burke

    AOP in JBoss 4.0.0 final

    aselton

      I want to use JBoss AOP in JBoss 4.0 final.

      I follow the instructions on http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer but it fails.

      What should I do to this work ? It should work with this instructions ?

        • 1. Re: AOP in JBoss 4.0.0 final
          bill.burke

          What exactly is the error?

          This WIKI page is out of date. It needs to be updated. I didn't get a chance to do it before the FINAL release. We'll be putting out a detailed reference guide on Friday.

          The AspectDeployer service is not emedded in the aop.deployer jar and can be configured in aop.deployer/META-INF/jboss-service.xml

          By default, EnabledTransformer is false so you will need to:

          1. mkdir tmp/
          2. cd tmp
          3. jar -xf ../aop.deployer
          4. edit META-INF/jboss-service.xml to change EnableTransformer to true

          OR, instead of doing the above, just use the precompiler.


          BUT....What exactly to you get as an error?

          Apologies,

          Bill

          • 2. Re: AOP in JBoss 4.0.0 final
            bill.burke

            Ok, I have updated the WIKI page. Let me know if that works for you.

            Sorry for crappy installation. WE'll improve this with the next release.

            Regards,

            Bill

            • 3. Re: AOP in JBoss 4.0.0 final
              bill.burke

              Ok, RC1 will not work with JBoss 3.2.5 as the base deployer class has changed in 4.0.