Article Content
Article Number | 000026175 |
Applies To | Stand alone API RSA Adaptive Authentication 5.7 Adaptive Authentication 2.2 Adaptive Authentication 2.1 Adaptive Authentication 2.0 |
Issue | Intermittent display of random PassMark image n bezel during enroll and sign-in During enrollment, the random PassMark image and bezel is not displayed. Following on from this, the image is also missing from subsequent sign-ins. Images in the gallery are displayed. The existence of the following application server log file entry indicates the problem: java.lang.: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. 2006-03-31 15:21:50,128 DEBUG [TP-Processor2] [] [PM-82C919F.jvm1-5ac7f9b9] [org.springframework.beans.factory.support.] <Returning cached instance of singleton bean 'global'> at sun.awt..initDisplay(Native Method) at sun.awt..<clinit>(.java:134) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at java.awt..getLocalGraphicsEnvironment(.java:62) at java.awt.Font.initializeFont(Font.java:308) at java.awt.Font.<init>(Font.java:344) at com.passmarksecurity.impl..getBezelFont(.java:238) at com.passmarksecurity.impl..getImageBits(.java:84) at com.passmarksecurity.action.$1ImageFetchTask.run(.java:134) at edu.emory.mathcs.backport.java.util.concurrent.$Worker.runTask(.java:660) at edu.emory.mathcs.backport.java.util.concurrent.$Worker.run(.java:685) at java.lang.Thread.run(Thread.java:534) |
Cause | The problem is caused by the getBezelFont() method invoking the java.awt.Font.initializeFont() method, which is dependent upon access to an X11 server |
Resolution | In JDK 1.4.x, Sun addressed this issue by allowing the -Djava.awt.headless=true property to be passed to the JDK at runtime, which causes the AWT classes to not require an X server to be running in order to function correctly. Appending this property to the java invocation in catalina.sh fixes the problem. |
Legacy Article ID | a31606 |