I'm using jasper report for generate a pdf report. When I run the application on localhost (windows) the pdf is generated perfectly, but when I put on fedora I catch ServletException, when I invoke
and the Action (Struts)
Luciano A. Pozzo
Joined: Jun 20, 2005
hehehe... I solve! The problem happen because the jasper have to access graphic interface's configurations, so they can't on Linux, because I'm using the terminal (server), so I should pass the command "-Djava.awt.headless=true" for jvm. Or you can put on JAVA_OPTS variable (jboss).