For Tomcat 3.3 change CATALINA_OPTS to TOMCAT_OPTS.  Otherwise the
directions quoted are correct.  If you insist on modifying the .sh file then
add this command as the second line of the sh file.

        Randy

> -----Original Message-----
> From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 15, 2002 3:17 PM
> To: Tomcat Users List
> Subject: Re: Charts in Jsp doesn't work [urgent!]
> 
> 
> Do somebody know how to set Java to run in headless mode  in 
> Tomcat 3.3 ?
> 
> Do you want give me a hint?
> I really tried to modify the tomcat.sh script but I 
> couldn't.. It's very
> hard to understand!!!
> Could you please help me?
> 
> 
> 
> 
> "Christopher K.St.John" wrote:
> 
> > Andy Eastham wrote:
> > >
> > > 1) To run in headless mode, you do need to modify tomcat.sh,
> > >
> >
> >    $ export CATALINA_OPTS="-Djava.awt.headless=true"
> >    $ bin/startup.sh
> >
> >  No need to actually modify the catalina.sh code, it will
> > automatically pick up the environment variable.
> >
> 
> 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
> 
> >
> > --
> > Christopher St. John [EMAIL PROTECTED]
> > DistribuTopia http://www.distributopia.com
> >
> > --
> > 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