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

From AgileApps Support Wiki
imported>Aeric
(Created page with "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 ...")
 
(Redirected page to Additional Step for RedHat)
Tag: New redirect
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.  
#REDIRECT [[Additional_Step_for_RedHat]]
<includeonly>===Additional Installation Step for RedHat 6 and higher versions===</includeonly>
Installations on RedHat version 6 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.  


To eliminate that problem:
To eliminate that problem:
Line 6: Line 8:
#: <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 ${TOMCAT_DIR}/bin/instrumentation/os/linux/x86 folder
#* Go to <tt>${TOMCAT_DIR}/profiles/IS_default/bin/instrumentation/os/linux/x86</tt>
#* Execute the binary: /probeinstrumenter <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>
 
[[Category:Installation]]
</noinclude>

Latest revision as of 09:40, 22 August 2023

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