I use the birt-viewer application under JBoss AS.
My report works well under Eclipse/BIRT development environment.
But if I deploy teh same report to JBoss AS and try to run it, I get just a blank page back, instead of a chart which I developed.
The log of the BIRT application says:
22.03.2006 09:46:42 org.eclipse.birt.report.model.metadata.ChoicePropertyType validateXml
FEIN: return internal name for choice hyperlink
22.03.2006 09:46:42 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask run
SCHWERWIEGEND: Error happened while running the report.
at java.lang.Class.forName0(Native Method)
I installed the JBoss AS as described in the documentation.
JBoss is 4.0.3SP1
Any help is highly appreciated! Thanks!
The getLocalGraphicsEnvironment() call is important as it tries to work out what the display device was that started the application.
We found that it was OK if you used say ssh to a remote machine to start run.sh
On an X11 workstation we had to add -Djava.awt.headless=true to the JAVA_CONFIG in the run.conf file.