could not initialize class sun.awt.X11.GraphicsEnvironemnt
This is happening while generating the charts. I googled for the solution and found out that setting the property -Djava.awt.headless=true will resolve the issue.
I did this at the application level by adding the System.setProperty(“java.awt.headless”,”true”); This did not work.
Then I added -Djava.awt.headless=true as the system property in WebLogic.ksh or any server. This resolved the issue