ColdFusion MX 7.x Graphing service does not start on Red Hat Linux
Issue
When using ColdFusion MX 7, ColdFusion MX 7.0.1, or ColdFusion MX 7.0.2 (in any configuration) on Red Hat Enterprise Linux, some server environments may encounter the following errors:
From the ColdFusion Administrator:
The Graphing service is not available
In the cfserver.log file:
Unable to initialize Graphing service
Reason
When viewing the cfserver.log, it will indicate that the JVM is missing a library or dependency on the system, as shown in this complete error message:
Error [main] - Unable to initialize Graphing service: java.lang.UnsatisfiedLinkError: /opt/coldfusionmx7/runtime/jre/lib/i386/libawt.so: libXp.so.6:
The ColdFusion charting and graphing requirements depend upon the library libXp.so.6 on Linux, and this file is supplied by the Linux packagexorg-x11-deprecated-libs.
Solution
To resolve the issue, install thexorg-x11-deprecated-libs package where the version is appropriate for the system, as shown in the example below:
[root@localhost RPMS]# rpm -Uvh xorg-x11-deprecated-libs-6.8.1-23.EL.rpm warning: xorg-x11-deprecated-libs-6.8.1-23.EL.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2 Preparing... ########################################### [100%] 1:xorg-x11-deprecated-lib########################################### [100%]
This package should be available on the installation CDs or DVD provided from your Linux vendor. If thexorg-x11-deprecated-libs package installation reports that it cannot be installed due to other package dependencies, mount the installation media and then change directories to the RedHat/RPMS/ directory where you can then use the rpm switch--aid to easily install all required package dependencies in addition toxorg-x11-deprecated-libs.
Additional Information
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
