Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-311

No way to discover if a byteman agent has already been installed.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0.4
    • 3.0.3
    • Tools
    • None

      The agent sets a static boolean once it loads the first time to true (see org.jboss.byteman.agent.Main class). However it's not discoverable from somebody outside the JVM if it has been attached already. For example if somebody used the Install API to inject the agent into a running JVM there is no way to detect this once done. What's more an exception is thrown if one attempts to attach an agent more than once.

              sgehwolf@redhat.com Severin Gehwolf
              sgehwolf@redhat.com Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: