Additional Step for RedHat

From AgileApps Support Wiki

Installations on RedHat version 7 and higher versions that plan to enable Java Code Governors must ensure that the 32-bit version of the gcc library is found on the Java path. If the 64-bit version is found with Java Code Governors enabled, a StaticProbeInstrumenterException, "Instrumentation Failed" occurs when attempting to compile a Java class in the platform.

To eliminate that problem:

  1. Login as a root
  2. Install the 32-bit instrumentation library:
    yum install libstdc++.i686 libstdc++.x86_64
  3. Verify that it is working:
    • Go to ${TOMCAT_DIR}/profiles/IS_default/bin/instrumentation/os/linux/x86
    • Execute the binary: ./probeinstrumenter
      You should see usage instructions for the probeinstrumenter.
  4. Restart AgileApps instance