000026175 - Intermittent display of random PassMark image n bezel during enroll and sign-in

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000026175
Applies ToStand alone API
RSA Adaptive Authentication 5.7
Adaptive Authentication 2.2
Adaptive Authentication 2.1
Adaptive Authentication 2.0
IssueIntermittent 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)
CauseThe problem is caused by the getBezelFont() method invoking the java.awt.Font.initializeFont() method, which is dependent upon access to an X11 server
ResolutionIn 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 IDa31606