Another option for this is to upgrade to JDK 1.4 and then use the
headless option (check Java's docs for more info on how to do this). Then
you can create images without the need for X. (This doesn't work if you are
using GUI objects like Frame).
Randy
> -----Original Message-----
> From: Chris Faulkner [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 15, 2002 4:27 AM
> To: Tomcat Users List
> Subject: Re: Starting server during boot with access to X-Windows
>
>
> Hi
>
> Have you tried Xvfb which is a virtual frame buffer ? I have
> a Tomcat app which also needs access to X for drawing. We
> simply start an Xvfb instance on a virtual display
> (:1.0,:2.0, etc) and then use that. We
> have an xvfb script in init.d for starting which essentially
> does this.
>
> /usr/X11R6/bin/Xvfb :1.0 -screen 0 1280x1024x24 -shmem & #
> Starts a virtual 24 bit device on :1.0
>
> and upon shutdown
>
> kill -TERM `cat /tmp/.X1-lock`
>
> Xvfb comes shipped with most ofthe Linux distros and is also
> available if you look around for Solaris and HP-UX.
>
> Chris
>
> >Hi,
> >
> >I have the following problem:
> >
> >we want to start tomcat during boot time. The servlets can
> produce some
> >charts thus the server needs access to X-Windows (thus the
> server needs
> >permission to do that). I do know how to start the server
> during boot but how
> >can it be assured that it will have access to X-Windows?
> >
> >
> >Zsolt
> >
> >--
> >Zsolt Koppany
> >
> >--
> >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]>