Applications Systems

Attempting to launch DPA on a Linux server returns a Status 500 Internal Server Error

Attempting to start DPA on a Linux server returns a Status 500 Internal Server Error that includes Error creating bean with name 'displayOptionsController'. To resolve this issue, you must install the required fonts.

First published date

3/26/2019 9:13 PM

Last published date

3/19/2025 8:55 PM

Overview

When DPA is installed on a Linux server, attempting to start it returns a Status 500 Internal Server Error. The 'Root Cause' section of the error message includes the following information: 

Error creating bean with name 'displayOptionsController' defined in class path resource [spring/iwc-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.confio.iwc.web.controller.DisplayOptionsController

Product section

Database Performance Analyzer

Cause

JDK 11 no longer ships any fonts. The fonts that DPA requires are no longer available from the JDK, and must be installed on the server.

Resolution

If you receive this error, install the system fonts. The following commands are used for the most common Linux distributions:

  • For Deb based distributions (for example, Debian and Ubuntu):
    apt-get install fontconfig
  • For RPM based Linux distributions (for example, RHEL, Fedora, and CentOS):
    yum install urw-fonts
Note: If you cannot install the fonts in the default system location (for example, because your DPA server is on an Oracle Engineered System and they will be removed each time the server is updated), see Install DPA on Linux for information about installing the fonts in a different directory.