Simon Dotschuweit wrote:
Ich finally managed to setup jfor to be used by a servlet
running in Jboss
3(_dot_)0(_dot_)6(_at_)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:
<snip/>
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
.java:125)
<snip/>
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.
http://java.sun.com/j2se/1.4.1/docs/guide/awt/AWTChanges.html#headless
cheers
Con
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list