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'.
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'.
- relates to
-
JDK-7127191 SA JSDB does not display native symbols correctly for transported Linux cores
-
- Resolved
-
-
JDK-7009089 SA SA_ALTROOT may not work properly
-
- Closed
-