How To Prevent Exception "java.awt.Headlessexception" From Happening in Java EE containers

(Doc ID 358466.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version to [Release AS10g to AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 27-Oct-2016***


How can the following error be avoided when running a graphical application deployed to OC4J?

 at java.awt.GraphicsEnvironment.checkHeadless(
 at java.awt.Window.<init>(
 at java.awt.Frame.<init>(
 at java.awt.Frame.<init>(
 at javaside.Rbl.jspChart.init(
 at javaside.Rbl.jspChart.init(


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms