Setting up a headless environment with Tomcat to display flashboards


If you use a terminal to reach a headless UNIX system where you have installed the web server and

WarningSome content is unavailable due to permissions.

, you might receive error messages when accessing flashboards through a browser. To make sure that flashboards work from a headless UNIX environment, you must set Java VM options on the servlet engine that controls

WarningSome content is unavailable due to permissions.

.

To set Java VM options on the servlet engine

  1. In the catalina.sh file, add the following options for JAVA_OPTS near the top of the file:
    • -Djava.awt.headless=true
    • -Dsun.java2d.fontpath= sdkInstallDirectory/JavaHomeFolder/lib/fonts

      Information
      Example

      JAVA_OPTS="-Djava.awt.headless=true -Dsun.java2d.fontpath=/usr/Java/JavaHomeFolder/lib/fonts"

  2. Restart Tomcat for this change to take effect.

Use a similar procedure to add VM options to other servlet engines. See your respective server vendor's documentation for information about configuring Java options.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Helix Innovation Suite 23.3