Hi!
First, install virtual frame buffer of some sort.
We use Xvfb which is started with display/screen combination 1:0.
Xvfb can be downloaded from any XFREE download site.
Then make sure DISPLAY is set to 1:0.
With Jserv: set display in jserv.properties
and make sure it is exported.
We use it like this - works nicely for our jpegs.
HTH
//OLAS
Michael Remme wrote:
> Hi all,
>
> i am running a servlet on a suse 7.0 -server, running with blackdown jdk
> 1.2.2. This servlet shall create on the fly a gif-image and store that
> somewhere on the server.
>
> When the module of the servlet is reaching the point, where it shall call
> the graphic-environment, the following error occurs:
>
> java.lang.InternalError:
> Can't connect to X11 window server using ':0.0' as the value of the DISPLAY
> variable.
>
> Since yesterday i am reading everything about xwindows, DISPLAY-variable eg
> in the net and in some books but don't come to a real success. Can anybody
> help me?
>
> Best, Michael
>
> ========================================
> Michael Remme
> BrainT@GS GmbH
> Neuhofstr. 48
> D-41061 Mönchengladbach
> Tel. 02161-243 136
> Mobile: 0173 - 535 21 37
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]