W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2002

Re: [www-xsl-fo] <none>

From: Oleg Tkachenko <olegt@multiconn.com>
Date: Wed, 10 Jul 2002 14:56:11 +0200
Message-ID: <3D2C2EEB.4060706@multiconn.com>
To: www-xsl-fo@w3.org

Purvesh Vora wrote:
> Hi FO Xperts,
> I am using fop .2 version.
> I am getting foll. error while generating pdf. Probably image url is not
> present for external-graphics tag then in that case it is throwing?
> Can anybody please guide me. 

> java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
> the value of the DISPLAY variable.
First of all this problem has nothing to do with xsl-fo.
This exception means fop (batik actually) is working in jvm, which doesn't 
have native graphics support available.
Usually that's unix box with no X server installed (or running?). So you have 
a choice:
1) make X server working on the machine
2) use virtual X server - xvfb
3) use pure awt implementation - pja library
4) upgrade to jdk 1.4, which able to run without X server, they call it 
"headless mode".

Oleg Tkachenko
Multiconn International, Israel
Received on Wednesday, 10 July 2002 07:54:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:26 UTC