Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-4185

Simpler load time weaving configuration

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Minor Minor
    • LATER
    • None
    • server
    • None

      Right now, if you wanna use load time weaving, you need to modify jboss.aop:service=AspectManager
      MBean to have EnableLoadtimeWeaving to true and you need to pass the pluggable instrumentor in
      the VM parameters, i.e.

      -javaagent:/home/galder/access/eap-rel/4.3.0.ga.cp04/server/279798/deploy/jboss-aop-jdk50.deployer/pluggable-instrumentor.jar

      From JBDS, you need to put the full path to this, whereas if running standalone, you can just do:

      JAVA_OPTS="$JAVA_OPTS -javaagent:server/279798/deploy/jboss-aop-jdk50.deployer/pluggable-instrumentor.jar"

      Now, it'd be really helpful if the JBoss AS/EAP server had an option that added did this (at least the javaagent part)
      if load time weaving was enabled (a new option server configuration window (i.e. double click server name))

            rob.stryker Rob Stryker (Inactive)
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: