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

Loading rules script file with ClassLoader .getSystemResourceAsStream("bytemanpkg.btm");

    XMLWordPrintable

Details

    Description

      I am learning Byteman, and i develop a little application to package the native agent ( with the original MANIFEST.MF) , the helper classes, a file of properties , and the file of script rule in one jar named mybyteman.jar

      -javaagent parameter puts the jar of the agent (mybyteman.jar) available from the SystemClassloader.
      Unfortunaly, my rule file is not reachable with the statement ClassLoader .getSystemResourceAsStream("bytemanpkg.btm");
      It raises an Exception.
      Is it possible to give a second chance in the catch clause with ClassLoader .getSystemResourceAsStream("bytemanpkg.btm")?

      Attachments

        Activity

          People

            rhn-engineering-adinn Andrew Dinn
            pasturel_jira Jean-Louis Pasturel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: