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

Using Install Java API fails to locate byteman agent jar when using system property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.4
    • 3.0.3
    • None
    • None
    • Hide

      1. Create JVM to attach to
      2. Try to attach the byteman agent to a JVM using the code in the attachment.
      3. java -Dorg.jboss.byteman.home=/path/to/home BytemanInstallPropertyReproducer <pid-of-jvm>

      Show
      1. Create JVM to attach to 2. Try to attach the byteman agent to a JVM using the code in the attachment. 3. java -Dorg.jboss.byteman.home=/path/to/home BytemanInstallPropertyReproducer <pid-of-jvm>
    • Workaround Exists
    • Hide

      BYTEMAN_HOME=/path/to/home java BytemanInstallPropertyReproducer <pid-of-jvm> works as expected.

      Show
      BYTEMAN_HOME=/path/to/home java BytemanInstallPropertyReproducer <pid-of-jvm> works as expected.
    • Low

    Description

      If I attempt to attach to a JVM using Install's API by setting the byteman system property (org.jboss.byteman.home), it fails to attach. The same approach works fine if I set the environment variable (BYTEMAN_HOME) instead.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: