In Crystal Reports XI running on UNIX/Linux, when previewing a report in the Java Reporting Component (JRC) using the DHTML viewer, the following error message appears:
"Error 500: sun/awt/motif/MToolkit".
This error message occurs on non-graphics enabled servers as the JRC requires a graphical subsystem (for example, X11) to generate the charts and graphical objects that are rendered in the DHTML viewer.
If a graphical subsystem is not present and if the process described Note 1218339 has already been attempted, the error message may still specifically occur with applications deployed on IBM WebSphere on Linux or UNIX.
To resolve the error message
- Log on to the WebSphere 5.1.x administrator console.
- Click Application Servers > <server instance> > Process Definition > Java Virtual Machine > Generic JVM arguments.
- Set -Djava.awt.headless=true.
The report can now be viewed successfully.
IMPORTANT: The headless option is only available for JDK 1.4.x or higher.
JAVA REPORTING COMPONENT JRC LINUX UNIX GRAPH CHART IMAGE WEBSPHERE IBM Crystal Reports Java Reporting Component Viewing on non-graphics enabled UNIX or Linux servers , c2018925 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem