Difference between revisions of "Additional Installation Step for RedHat 6"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 1: Line 1:
<includeonly>===Additional Installation Step for RedHat 6===</includeonly>
<includeonly>===Additional Installation Step for RedHat 6===</includeonly>
Installations on RedHat version 6 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> occurs when attempting to compile a Java class in the platform.  
Installations on RedHat version 6 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.  


To eliminate that problem:
To eliminate that problem:
Line 7: Line 7:
#: <tt>yum install libstdc++.i686 libstdc++.x86_64</tt>
#: <tt>yum install libstdc++.i686 libstdc++.x86_64</tt>
# Verify that it is working:
# Verify that it is working:
#* Go to <tt>${TOMCAT_DIR}/bin/instrumentation/os/linux/x86</tt>  
#* Go to <tt>${TOMCAT_DIR}/profiles/IS_default/bin/instrumentation/os/linux/x86</tt>  
#* Execute the binary: <tt>./probeinstrumenter</tt> <br>You should see usage instructions for the probeinstrumenter.
#* Execute the binary: <tt>./probeinstrumenter</tt> <br>You should see usage instructions for the probeinstrumenter.
# Restart AgileApps instance
<noinclude>
<noinclude>


[[Category:Installation]]
[[Category:Installation]]
</noinclude>
</noinclude>

Revision as of 07:47, 15 January 2021

Installations on RedHat version 6 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 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