awt.toolkit returns null
Hi all, I've discovered that the awt.toolkit system property returns null on the linux server hosting a java web application am working on. I've listed some of the AWT system properties on the system but the awt.toolkit returns null.
java.awt.graphicsenv: = sun.awt.X11GraphicsEnvironment
java.awt.headless: = ture
awt.toolkit: = null
I really dont know what could be causing this.
This affects all image related proceses (dynamic image creation) that the application does. It outputs the following error message:
java.lang.NoClassDefFoundError
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:141)
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
I dont think it has anything to do with X11, XServer or Headless.
Any thoughts ?
Cheers

