dayanandasekar
06-14-2006, 11:06 AM
Hello,
I am using a 3rd party image generation library in my web applicaton. When I deploy the application to tomcat i get this exception instead of the image.
I tried stuff like setting the below to Catalina.sh
java.awt.headless=true
but nothing seems to be working.
My platform is a linux 2.6
Please help if you have come across this . . . and solved it . . .
java.awt.HeadlessException
sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:65)
I am using a 3rd party image generation library in my web applicaton. When I deploy the application to tomcat i get this exception instead of the image.
I tried stuff like setting the below to Catalina.sh
java.awt.headless=true
but nothing seems to be working.
My platform is a linux 2.6
Please help if you have come across this . . . and solved it . . .
java.awt.HeadlessException
sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:65)