12.6. Loadtime transformation in the JBoss Enterprise Application Platform Using Sun JDK
- Set the
true. By default, JBoss Enterprise Application Platform will not do load-time bytecode manipulation of AOP files unless this is set. If
true, failed bytecode transformation will only give an error warning. This flag is needed because sometimes a JBoss deployment will not include all of the classes referenced.
- Copy the
lib/directory of your JBoss AOP distribution to the
bin/directory of your JBoss Enterprise Application Platform.
- Next edit
run.bat(depending on what OS you are on) and add the following to the
set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -javaagent:pluggable-instrumentor.jar
org.jboss.aop.deployment.AspectManagerServiceJDK5as these are what work with the