Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFCHART not working - Windows + MX 6.1

Guide ,
Sep 17, 2006 Sep 17, 2006
I cannot get cfchart to work under MX 6.1. The simplest example throws an exception.

The chart could not be generated due to an error in the graphing engine.
-java.lang.NoClassDefFoundError
at com.gp.webcharts3D.model.ExAxisStyle.<init>(ExAxisStyle.java)
at com.gp.webcharts3D.model.ExChartStyle.<init>(ExChartStyle.java)

For kicks I tried http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19605

Added to jvm arguments:
-Xbootclasspath/a:C:\\CFusionMX\\lib\\webchartsJava2D.jar -Djava.awt.graphicsenv=com.gp.java2d.ExHeadlessGraphicsEnvironment

It still throws an exception:

The chart could not be generated due to an error in the graphing engine.
java.lang.InternalError: invalid compression method
at java.util.zip.ZipInputStream.read(ZipInputStream.java:165)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:69)
at sun.text.resources.LocaleData.scanFile(LocaleData.java:261)
at sun.text.resources.LocaleData.getClassList(LocaleData.java:217)
at sun.text.resources.LocaleData.access$000(LocaleData.java:53)
at sun.text.resources.LocaleData$2.run(LocaleData.java:168)
at java.security.AccessController.doPrivileged(Native Method)

Anyone else had this problem or know how to fix it?
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Sep 27, 2006 Sep 27, 2006
Anyone have any ideas?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 06, 2006 Oct 06, 2006
bump
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 12, 2006 Oct 12, 2006
bump
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 27, 2006 Oct 27, 2006
bump
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 10, 2006 Nov 10, 2006
Have you got this fixed? I am having the same problem.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Nov 11, 2006 Nov 11, 2006
CJ,

I'm glad you asked. I hadn't been able to fix the problem until now. Your post prompted me to take another look. I finally got it working.

My problem was caused by some kind of conflict with one of the entries in the CF Admin -> java and jvm -> classpath. Once I removed that entry cfchart started working.

I figured it out by clearing the classpath and restarting CF. After the restart cfchart worked, so the problem was definitely the classpath. I then added back the entries one at a time until I found the one causing the exception.

HTH
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 13, 2006 Nov 13, 2006
HTH,

thanks for the response. I am running CF 7 and I there is no java and jvm section that I could see. I looked all over for class paths but I did not see anything in there for it. Thanks for the response.

CJ
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Nov 13, 2006 Nov 13, 2006
CJ,

Log into the CF Administrator. On the left menu select: Server Settings -> Java and JVM. The section you want is called "ColdFusion Class Path"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 13, 2006 Nov 13, 2006
If I go under server Settings I see Settings, Caching, Client Variables, Memeory Variables, Mappings, Mail, Charting, Font Management, and Settings Summary. Nothing for Java and JVM or ColdFusion Class Path.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Nov 13, 2006 Nov 13, 2006
It looks like that option isn't visible for certain installation types
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=143&threadid=1139089


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 13, 2006 Nov 13, 2006
Thanks for the information.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Nov 13, 2006 Nov 13, 2006
LATEST
You're welcome. Post back if you're able to fix the problem. I'm curious if the cause was the classpath or something different. Good Luck.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources