If, after starting your application in z/OS, you see the Not Marked Program Controlled messages or errors with the return code 139:
BPXP015I HFS PROGRAM /tmp/libdynatrace-oneagent-odin-java5848811742465559217.so
IS NOT MARKED PROGRAM CONTROLLED.
You need to enable program control for the z/OS Java module. To do so
-
Expand
dynatrace-oneagent-zos-java.jarthat you downloaded into a program controlled folder. -
Mark the appropriate
.sofile (31 or 64-bit) in thelib/zos-s390/directory as program-controlled-
Switch to the path that contains the
.sofiles. -
Issue the following command using the 31- or 64-bit file:
extattr +p libdynatrace-oneagent-odin-java_64.so
-
-
Add
zos-native-library-overrideto your JVM argument.-javaagent:/PATH_TO/dynatrace-oneagent-zos-java.jar=zos-native-library-override=<PATH_TO_SO>/libdynatrace-oneagent-odin-java_64.soWhere:
<PATH_TO_SO>is the path to your JAR file.
<PATH_TO_SO>is the absolute path to the.sofile that you want to control. -
Restart your application server.