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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: