struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Łaś <daniel....@e-direct.pl>
Subject Re: JFreeChart and Struts
Date Mon, 28 Nov 2005 13:31:59 GMT
Wendy Smoak napisał(a):
> On 11/27/05, Daniel Łaś <daniel.las@e-direct.pl> wrote:
> 
> 
>>I found different stack trace than previously posted.Maybe this will be
>>more helpfull.
>>
>>2005-11-27 16:54:36 StandardWrapperValve[action]: Servlet.service() for
>>servlet action threw exception
>>java.lang.NoClassDefFoundError
>>         at java.lang.Class.forName0(Native Method)
>>         at java.lang.Class.forName(Class.java:141)
>>         at
>>java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
>>         at java.awt.Font.initializeFont(Font.java:308)
> 
> 
> Are you running in a 'headless' environment?  On Unix/Linux with no
> graphics libraries (such as X11) installed?
> 
> This thread on the JFree forums might help:
>    http://www.jfree.org/phpBB2/viewtopic.php?t=1012
> 
> --
> Wendy

Thanks all for help. I added -Djava.awt.headless=true to Tomcat startup 
options and everything works fine.

Regards

-- 
Daniel Łaś <daniel.las@e-direct.pl>

e-direct Polska sp. z o.o.
ul. 1-go Maja 9
45-068 Opole
tel. +48 77 44 17 868

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message