Hello everyone !
We are trying to show an iReport/JasperReport/JasperViewer report in an web application (servlets/JSP).
Our development environment is:
- NetBeans 5.0
- jdk 5
- iReport 1.2.4
-
TomCat 5.5.9
The report is a .jasper file
When the app runder NetBeans (bundled TomCat), things go well.
However, in the production environment, the report doesn�t show up.
We have already tried the TomCat/Java option:
-Djava.awt.headless=true
The stack trace is as follows:
class : java.awt.GraphicsEnvironment
file : null
line : -1
method: checkHeadless
class : java.awt.Window
file : null
line : -1
method: <init>
class : java.awt.Frame
file : null
line : -1
method: <init>
class : java.awt.Frame
file : null
line : -1
method: <init>
class : javax.swing.JFrame
file : null
line : -1
method: <init>
class : net.sf.jasperreports.view.JasperViewer
file : JasperViewer.java
line : 171
method: <init>
class : net.sf.jasperreports.view.JasperViewer
file : JasperViewer.java
line : 436
method: viewReport
class : net.sf.jasperreports.view.JasperViewer
file : JasperViewer.java
line : 384
...
Is there a TomCat configuration we are missing ?
We also had a suspect the JasperViewer was not showing the report in the browser (client), but we didn�t find any evidence the report was even created in the server.
Can anybody help us ?
Thank you all.
matheuxrp -
SCJP 5