I'm trying to get cfchart running on MX 6.1 for JRun (internal web server)
on Solaris using J2SDK 1.4.2_03 and I keep getting an error. In the browser,
it's a 500 internal server error. In the exception log, I see:

Could not find class: com.gp.java2d.ExHeadlessGraphicsEnvironment

with a huge stack trace after that doesn't really suggest something to look
at.

I have updated my jvm.config file with the proper
ExHeadlessGraphicsEnvironment setting (and even tried the alternative
-Djava.awt.headless=true) and nothing works. I've seen the posts where Linux
needs XFree86 installed for cfchart to work. Is there anything in particular
that needs to be installed on Solaris for it to work?

One last conspicuous line I saw was in my web.xml file for the Graph servlet
mapping. In various MM TechNotes, I've seen reference to:

<servlet-mapping id="macromedia_mapping_2">^M
<servlet-name>GraphServlet</servlet-name>^M
<url-pattern>/CFIDE/GraphData.cfm</url-pattern>^M
</servlet-mapping>

However, my mapping does not have the .cfm file extension on the end of it.
However, the above snippet is from a TechNote referring to the standalone
version of MX, so I wasn't sure if it was the same mapping in the J2EE
version. I went ahead and added the file extension to see what would happen,
and I get the same exact error as without the extension.

What could I be missing?

Regards,
Dave.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to