ColdFusion 5 uses a built-in version of JRun and Generator to render the images created by CFGraph. That built-in JRun server (version 3.02a) is configured in the global.properties file to use the jre that ships with ColdFusion 5.

That version of the CF5 built-in jre on Solaris is 1.3.0_02. That version of jre may be unstable in certain enviroments or circumstances, and can lead to the jvm crashing. When that happens you may get a "Cannot connect to JRun proxy" error in the place of the expected graph.

You can change the jre version that JRun is using for CFGraph by first installing a jre that is more stable and yet compatible with that older version of JRun, such as Sun jre 1.3.1_08. When that's done, you can edit the global.properties file to change 1 line to point to the new jvm, then restart ColdFusion to start using it for CFGraph.

**Note that when you modify the jre through the CFAdmin on the Java page, that is actually configuring the jre used for CFObject, CreateObject, and CFX Java. That CFAdmin jre setting is NOT the one used for CFGraph and the underlying JRun.

To change the CFGraph/JRun jre modify the line for java.exe in /opt/coldfusion/JRun/lib/global.properties:

# cd /opt/coldfusion/JRun/lib
# head -15 global.properties

######################################
## basic JRun properties
######################################

######################################
##Java VM Settings
######################################

# path to java virtual machine.
# Launchers will use system PATH if necessary
java.exe=/opt/java/j2re1_3_1_08/bin/java


For example, change java.exe=/opt/coldfusion/jre/bin/java to java.exe=/opt/java/j2re1_3_1_08/bin/java.

Now CFGraph is likely to be more stable.