ColdFusion MX 7: ''Graphing service is not available'' error when accessing the ColdFusion AdministratorProducts affected
Issue
After installing ColdFusion MX 7 in a J2EE configuration, the following error may be seen when opening the ColdFusion Administrator:
Error Occurred While Processing Request The Graphing service is not available.
You may also notice the following errors at the command prompt at startup or in your log file:
11/09 13:49:07 Information [main] - Starting graphing... 11/09 13:49:09 Error [main] - Unable to initialize Graphing service: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
Reason
The error is generated because the ColdFusion charting capabilities have not yet been configured for your server.
Solution
Add the following JVM arguments to your J2EE server Admin console or to the Java Options in your start script to configure charting and resolve the error:
-Xbootclasspath/a:cf_webapp_root/WEB-INF/cfusion/lib/webchartsJava2D.jar -Djava.awt.graphicsenv=com.gp.java2d.ExGraphicsEnvironment
For JDK 1.4.1 and later versions, specifycom.gp.java2d.ExHeadlessGraphicsEnvironment instead ofcom.gp.java2d.ExGraphicsEnvironment.
Note: For WebLogic, ensure that you are adding these arguments to the ColdFusion MX server instance start script, not the Admin server start script.
Doc ID
(ceb0e519)
Last updated
2006-07-31
Products affected
