knightwing
Location : Ireland
Member since : Jun 19, 2003
Messages : 1
|
Jun 19, 2003 at 12:50 PM
Hi,
I have been attempting to use the PJA Toolkit to replace the use of Xvfb on a couple of applications.
I got the toolkit running properly under Tomcat and It runs great.
I am now looking to get it running with Jserv.
I have already carried out the following in jserv.properties:
added wrapper.bin.parameter=-Xbootclasspath/a:/path/to/lib/pja.jar
added wrapper.classpath=/path/to/lib/pja.jar & wrapper.classpath=/path/to/lib/pjatools.jar
commented out wrapper.env=DISPLAY=:9.0 (This was the reference for Xvfb)
I have also tried adding the -D settings with wrapper.bin.parameter and wrapper.env as follows:
wrapper.bin.parameter=-Dawt.toolkit=com.eteks.awt.PJAToolkit
wrapper.bin.parameter=-Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment
wrapper.bin.parameter=-Djava2d.font.usePlatformFont=false
wrapper.bin.parameter=-Djava.awt.fonts=/opt/java/jre/lib/fonts
&
wrapper.env=awt.toolkit=com.eteks.awt.PJAToolkit
wrapper.env=java.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment
wrapper.env=java2d.font.usePlatformFont=false
wrapper.env=java.awt.fonts=/opt/java/jre/lib/fonts
both versions have been unsuccessful.
The error I keep getting is:
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable
If anyone has any ideas of what might help, It would be greatly appreciated.
Thanks,
~Greg.
|