Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error message with CFCHART

Status
Not open for further replies.

GuyPhempoompanitch

Programmer
Jul 11, 2006
6
US
We have a 2 development servers that execute CFCHART calls without a problem. When we move the exact same code to a production server, we get this error:

---------------------------------------------
500 macromedia/fonts/FontManager
macromedia/fonts/FontManager
---------------------------------------------

As far as I can tell, the servers are setup exactly the same. In the log files, the following is shown:

---------------------------------------------
23039 "Error","jrpp-39","07/10/06","14:09:46",,"macromedia/fonts/FontManager The specific sequence of files included or processed is: E:\WEBROOT\PROD\SITE\preapproval\test.cfm, line: 6 "
23040 java.lang.NoClassDefFoundError: macromedia/fonts/FontManager
23041 at java.lang.ClassLoader.defineClass0(Native Method)
23042 at java.lang.ClassLoader.defineClass(Unknown Source)
23043 at java.security.SecureClassLoader.defineClass(Unknown Source)
23044 at java.net.URLClassLoader.defineClass(Unknown Source)
23045 at java.net.URLClassLoader.access$100(Unknown Source)
23046 at java.net.URLClassLoader$1.run(Unknown Source)
23047 at java.security.AccessController.doPrivileged(Native Method)
23048 at java.net.URLClassLoader.findClass(Unknown Source)
23049 at coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:215)
23050 at java.lang.ClassLoader.loadClass(Unknown Source)
23051 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
23052 at coldfusion.graph.Chart.getWebChartsStyleXml(Chart.java:444)
23053 at coldfusion.tagext.io.ChartTag._getGraphStyle(ChartTag.java:500)
23054 at coldfusion.tagext.io.ChartTag.getGraphStyle(ChartTag.java:430)
23055 at coldfusion.tagext.io.ChartTag.doEndTag(ChartTag.java:526)
---------------------------------------------

Anybody have any ideas on how to fix this? Right now, any page with a CFCHART tag in it gives an error, no matter how simple the CFCHART tag is.

Thanks,
Guy
 
Thanks. I did not specify a font attribute in the CFCHART tag. I tried to add one to see if it worked, but it did not. Any other ideas? Thanks.
 
Here's what I'm using to test it out. Even this simple chart doesn't work on the one server. Thanks!

<cfchart format="jpg">
<cfchartseries type="pie">
<cfloop index="i" from="1" to="10">
<cfchartdata item="#i#" value="#i#" >
</cfloop>
</cfchartseries>
</cfchart>
 
that works perfectly fine on my machine. can you compare your jvm and charting settings with your production and development servers?
maybe there is something missing in the settings.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top