[frs-40] Why doesn’t CPU Monitoring / Stack Traces work?


STOP PRESS

Linux kernel 2.4 and earlier users (RHEL 3/RHL9, NPTL 0.60), please read FRS-176 to find out how this issue affects you!

FusionReactor 2.0 CPU monitoring on non Windows platforms is currently supported only on Sun Solaris SPARC and Red Hat Enterprise Server 4 for ColdFusion MX 6 and 7 as well as JRun4 servers. Other combinations might work but have not been veryfied yet.

We are currently working to add the CPU monitoring for other platforms and will make them available as soon as possible.

If you experience problems with the stack trace or CPU monitoring functionality in FusionReactor on one of the above supported systems, you have to make sure that the FusionReactor native library gets loaded properly. This problem can especially occur on Flex, Tomcat or JBoss servers. If you have a look into the server log file you will probably see a message like the following (taken from a Tomcat server):

WARNING - Unable to load the FusionReactor's native library because the file
          'FusionReactor.dll' could not be located in the following
          java.library.path:
            C:Tomcatbin
            C:Tomcat.
            C:WINDOWSsystem32
            C:WINDOWS
            C:Tornadotpcfmx7verityk2_nti40bin
            C:developappserverJRun4verityk2_nti40bin
            C:developmaven-2.0.4bin
            C:JRun4verityk2_nti40bin
            C:CFusionMX7verityk2_nti40bin
            C:developCFusionMX7verityk2_nti40bin
            C:developjavajdk1.5.0_06bin
            C:developmaven-1.0.2bin
            C:developapache-ant-1.6.5bin
            C:developcvsnt
            C:developbin
            C:Perlbin
            C:Program FilesMicrosoft Visual StudioVSSwin32
            C:WINDOWSsystem32
            C:WINDOWS
            C:WINDOWSSystem32Wbem
            C:Program FilesATI TechnologiesATI Control Panel
            C:Program FilesUltraEdit
            C:Program FilesMicrosoft SQL Server80ToolsBinn
            C:Program FilesSymantecNorton Ghost 2003
            C:developtoolsunison
            C:Program FilesCommon FilesGTK2.0bin

There are three ways to make sure that the FusionReactor native library gets loaded properly:

WINDOWS

1. Update the system environment variable PATH so that it includes the directory where the native library FusionReactor.dll is located.

2. Add the directory where the native library FusionReactor.dll is located to the Java System Property java.library.path and pass this property to your application server.

3. Copy the native library FusionReactor.dll to a directory that is already defined in either the PATH variable or the Java System Property java.library.path.

UNIX

1. Update the system environment variable LD_LIBRARY_PATH so that it includes the directory where the native library libFusionReactor.so is located.

2. Add the directory where the native library libFusionReactor.so is located to the Java System Property java.library.path and pass this property to your application server.

3. Copy the native library libFusionReactor.so to a directory that is already defined in either the LD_LIBRARY_PATH variable or the Java System Property java.library.path.

Issue Details

Type: Technote
Issue Number: FRS-40
Components:
Environment:
Resolution: Fixed
Last Updated: 09/Oct/07 5:51 PM
Affects Version: 2.0
Fixed Version: 2.0
Server:
Platform:
Related Issues:

FRS-176: CPU Graph Always Shows Zero