alex
Location : Rome
Member since : Aug 25, 2004
Messages : 1
|
Aug 25, 2004 at 12:24 PM
Hello everybody , I hope someone can help me....
My System : Bea WebLogic 8.1,Sun Solaris 8,jdk141_05
I have this kind of exception:
java.awt.HeadlessException at
sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:66)
at this line of my code :
com.eteks.java2d.PJAGraphicsConfiguration gc = (com.eteks.java2d.PJAGraphicsConfiguration) com.eteks.java2d.PJAGraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration();
I have before set on setDomainEnv.sh of Bea this properties :
JAVA_OPTIONS="${JAVA_OPTIONS} ${JAVA_PROPERTIES} -Djava.awt.headless=true -Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment -Djava2d.font.usePlatformFont=false -Djava.awt.fonts=/usr/openwin/lib/X11/fonts/TrueType/ -Xbootclasspath/a:/rss_appl/rss_svil01/pja.jar"
(rss_appl/rss_svil01 is my APPLDIR)
THANKS!!!
|