Can't connect to X11

2003-10-09 Thread MORIN Eric - NTR ( [EMAIL PROTECTED] )
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

Re: Can't connect to X11

2003-10-09 Thread tien hai nguyen
: 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

RE: Can't connect to X11

2003-10-09 Thread MORIN Eric - NTR ( [EMAIL PROTECTED] )
'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

Re: Can't connect to X11

2003-10-09 Thread tien hai nguyen
: 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

Re: Can't connect to X11

2003-10-09 Thread Jeremias Maerki
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

Re: Can't connect to X11

2003-10-09 Thread ARDOIN JEAN-LUC
: 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