AgileApps Support Wiki Pre Release

Difference between revisions of "Additional Step for RedHat"

From AgileApps Support Wiki
(Created page with "<includeonly>===Additional Step for RedHat===</includeonly> Installations on RedHat version 7 and higher versions that plan to enable Java Code Governors, need to ensure t...")
 
 
Line 1: Line 1:
<includeonly>===Additional Step for RedHat===</includeonly>
<includeonly>===Additional Step for RedHat===</includeonly>
Installations on RedHat version 7 and higher versions that plan to enable [[Java Code Governors]], need to 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 <tt>StaticProbeInstrumenterException</tt>, "Instrumentation Failed" occurs when attempting to compile a Java class in the platform.  
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 <tt>StaticProbeInstrumenterException</tt>, "Instrumentation Failed" occurs when attempting to compile a Java class in the platform.  


To eliminate that problem:
To eliminate that problem:

Latest revision as of 09:35, 22 August 2023

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