Hello,
I'am using FOP 0.20.4 to create PDF with svg graphics in a servlet context
on Unix or Linux.
Generally it works fine, but sometimes I get the following exception :
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable
:
Hello,
I'am using FOP 0.20.4 to create PDF with svg graphics in a servlet context
on Unix or Linux.
Generally it works fine, but sometimes I get the following exception :
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable
'headless' option can be used only since jdk 1.4 but i use jdk 1.3 !
-Message d'origine-
De : tien hai nguyen [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 9 octobre 2003 11:21
À : [EMAIL PROTECTED]
Objet : Re: Can't connect to X11
try this
$JAVACMD -Djava.awt.headless=true -classpath
: tien hai nguyen [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 9 octobre 2003 11:21
À : [EMAIL PROTECTED]
Objet : Re: Can't connect to X11
try this
$JAVACMD -Djava.awt.headless=true -classpath $LOCALCLASSPATH $FOP_OPTS
org.apache.fop.apps.Fop $@
instead of
$JAVACMD -classpath $LOCALCLASSPATH
A list of workarounds is at:
http://xml.apache.org/fop/graphics.html#batik
I'am using FOP 0.20.4 to create PDF with svg graphics in a servlet context
on Unix or Linux.
Generally it works fine, but sometimes I get the following exception :
java.lang.InternalError: Can't connect to X11
: Client is not authorized to connect to Server
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable.
at sun.awt.motif.MToolkit.(MToolkit.java:48)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:244