aspose file tools*
The moose likes Tomcat and the fly likes iReport/JasperViewer report doesn�t show ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "iReport/JasperViewer report doesn�t show ! " Watch "iReport/JasperViewer report doesn�t show ! " New topic
Author

iReport/JasperViewer report doesn�t show !

Matheus Silva
Greenhorn

Joined: Aug 10, 2006
Posts: 2
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


SCJP 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iReport/JasperViewer report doesn�t show !