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 Mid Tier, 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 Mid Tier.
To set .Java VM options on the servlet engine
- 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
- Restart 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*