Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7010732

SA_ALTROOT only works if running the SA tools from their build directory.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 6
    • hotspot
    • svc
    • b03
    • generic
    • solaris

      Using Serviceability Agent tools with the SA_ALTROOT environment variable only works if running the SA tools from their build directory.

      Two problems:

      The packager script "mkinstall" does not copy the libsaproc_audit.so library.

      The saenv.sh and saenv64.sh scripts assume that the same library is to be found in a relative path (in the build directory).


      e.g.
      Build the SA tools, run "sh mkinstall" to create an sa17.tar.gz. Take this bundle where it is needed, and unpack. Then:

      $ ./clhsdbproc64.sh executable corefile
      SA_ALTROOT is set and can't find libsaproc_audit.so.
      Make sure to build it with 'make natives'.

            dsamersoff Dmitriy Samersoff
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: