Accessibility

TechNote (Archived)

ColdFusion MX 7: 'Graphing service is not available' error when accessing the ColdFusion Administrator

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.

AlertThis 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!

Get Adobe Flash Player

Creative Commons License

Search Support

Document Details

ID:ceb0e519

Products Affected:

coldfusion