Thaks to all of you!!
I'm beginning to understand!

But Andy,
In order to run the j2sdk1.4 in headless mode, do I need to modify the tomcat.sh
file?
AND  If I have the j2sdk1.4 installed and run it in headless mode, do I need to
get and install the VFB too? or not?


Thank you again!
Nancy




Andy Eastham wrote:

> Nancy,
>
> You either need X windows or (if your server has no graphics card):
>
> 1) Use j2se1.4 and run it in "headless" mode - the JAva VM needs to be
> started with the
> -Djava.awt.headless=true option in the Tomcat startup scripts.
>
> 2) Get the virtual frame buffer (VFB) version of X windows and run that.  (I
> know we did this at my previous company but I'm afraid I can't remember how
> to set it up).  Try typing "xwindows virtual frame buffer" into your
> favourite search engine.
>
> Andy
>
> > -----Original Message-----
> > From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]]
> > Sent: 14 March 2002 16:48
> > To: Tomcat Users List
> > 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(GraphicsE
> > nvironment.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.processConnecti
> > on(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]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to