CFCHART (the underlying Java classes) uses the built in GUI from the system
to do a lot of it's magic.  So you need to have the basics of a GUI shell
installed on your server in order for it to work.  I don't know about
Solaris, but with Linux, you have to install a stripped down X11.  If you
don't have a GUI on your server, that's the problem.

Cheers,
barneyb

> -----Original Message-----
> From: Dave Carabetta [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 08, 2004 12:33 PM
> To: CF-Talk
> Subject: cfchart on Solaris
>
> 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