Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-5462

[drlvm][instrument][geronimo] -javaagent option not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 5.0M4, 5.0M5
    • None
    • None

    Description

      Harmony launcher doesn't support -javaagent startup option. That option is a part of J2SE5 spec [1], so it probably should be supported.

      The java.lang.instrument package (the option is part of) exists in Harmony classlib, and the question of having the option support has quite a story in discussion [2] [3] [4], but the option is not yet supported. There's even a JIRA issue [5] for this problem for IBM VME.

      This issue affects Geronimo, as it uses that option and provides it's own jpa.jar.

      [1] http://java.sun.com/j2se/1.5.0/docs/api/java/lang/instrument/package-summary.html
      [2] http://thread.gmane.org/gmane.comp.java.harmony.devel/11197
      [3] http://thread.gmane.org/gmane.comp.java.harmony.devel/12200
      [4] http://thread.gmane.org/gmane.comp.java.harmony.devel/31652
      [5] http://issues.apache.org/jira/browse/HARMONY-3128

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmz Vasily Zakharov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: