RE: [xsl] jfor doesn't work under linux

Subject: RE: [xsl] jfor doesn't work under linux
From: "Conal Tuohy" <conalt@xxxxxxxxxxxxxxx>
Date: Wed, 28 May 2003 08:41:54 +1200
Simon Dotschuweit wrote:

> Ich finally managed to setup jfor to be used by a servlet
> running in Jboss
> 3.0.6@Tomcat 4.18,
> under windows everything is fine. But if try to convert a
> XSL:Fo in to RTF,
> while Jboss runs
> on Suse linux 8.1, I get this:


> 22:27:28,771 ERROR [Engine] ----- Root Cause -----
> java.lang.InternalError: Can't connect to X11 window server
> using ':0.0' as
> the value of the DISPLAY variable.
>          at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
>          at
> sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment


> Where for do I need a XServer to convert A XSL:FO??
> Perhabs for external-graphics?

That's right.

> And how can I fix that problem? I have really no idea how do it.

The simplest way (if are running JDK1.4) is to run the JVM in "headless"
mode, in which the dependency on X is removed.



 XSL-List info and archive:

Current Thread