You need to install a windowing system on the Sun to allow it to get some
fonts and a few other rendering aids. You can install what's called a
virtual framebuffer server which emulate having the X windows environment --
get your Solaris guy to sort it.

Clayton
----- Original Message -----
From: "Nancy Crisostomo Martinez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 4:51 PM
Subject: Charts in Jsp doesn't work


> Hi Everybody!
>
> Do you know what is X Windows System for?
> Do I need to install it to work with charts?.. I mean, I couldn't see
> the charts displayed and someone told me that I need to install X Window
> System... Is that true?
> The jsp wich displays a chart are placed in a Solaris Sparc server
> running on Tomcat 3.3, but I want to see the charts in a Windows PC and
> I couldn't because the following message appears:
>
>
> Error: 500
> Location: /consultas/jspGrafico.jsp
> Internal Servlet Error:
> java.lang.NoClassDefFoundError
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:120)
>         at
>
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java:58)
>
>         at java.awt.Font.initializeFont(Font.java:264)
>         at java.awt.Font.(Font.java:298)
>         at oracle.charts.Chart.(Chart.java:224)
>         at oracle.charts.legend.Legend.(Legend.java:159)
>         at oracle.charts.axischart.AxisChart.(AxisChart.java:522)
>         at jspGrafico_4.generateChart(jspGrafico_4.java:109)
>         at jspGrafico_4._jspService(jspGrafico_4.java:353)
>         at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
>
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>         at org.apache.tomcat.facade.ServletHandler.doService(Unknown
> Source)
>         at org.apache.tomcat.core.Handler.invoke(Unknown Source)
>         at org.apache.tomcat.core.Handler.service(Unknown Source)
>         at org.apache.tomcat.facade.ServletHandler.service(Unknown
> Source)
>         at org.apache.tomcat.core.ContextManager.internalService(Unknown
> Source)
>         at org.apache.tomcat.core.ContextManager.service(Unknown Source)
>
>         at
>
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
> Source)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown
> Source)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
>         at java.lang.Thread.run(Thread.java:484)
>
>
>
> I can't understand.... please, help!
>
> Nancy.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to