• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

iReport/JasperViewer report doesn�t show !

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic