Skip to main content



      Home
Home » Archived » BIRT » Viewing PDF with linux/tomcat help
Viewing PDF with linux/tomcat help [message #108217] Thu, 12 January 2006 09:45 Go to next message
Eclipse UserFriend
Originally posted by: bena.agnitio-csl.com

Hi,

I am having problems viewing any report as a PDF with the birt viewer
deployed in tomcat on a linux server (birt 2.0).

I have tried the viewer on windows SBS 2003, Tomcat 5.5 and can view reports
as pdf ok. However with the same viewer (same war file) deployed on Fedora
Core 4, Tomcat 5.5 I cannot get the pdf view to work at all. All I get is
an empty page in my web browser when I try to view a report as pdf. It is
as if the file is not getting to the web browser somehow.

I have checked and tried various things on the linux installation:
- itext.1.3.jar is installed in the viewer / plugins
- running tomcat 4.1 and 5.0
- running tomcat with java 1.4 and 5
- running tomcat as headless
- even tried the same install on old Mandrake server!
- no errors in catalina.out on tomcat.

Has anyone got any ideas on what could be the problem or suggestions on what
else to check to which might give me a clue?

THanks in advanced,

Ben Astill
Re: Viewing PDF with linux/tomcat help [message #109016 is a reply to message #108217] Fri, 13 January 2006 11:10 Go to previous messageGo to next message
Eclipse UserFriend
I had a similar problem. The viewer would show the URL, but nothing ever
came out.
I traced this to a corrupt 1Text jar file. May not be your problem but may
want to try and download it again.
I believe the file size for it is over 1 MB

Jason Weathersby
BIRT PMC

"Ben Astill" <bena@agnitio-csl.com> wrote in message
news:dq5q39$a9$1@utils.eclipse.org...
> Hi,
>
> I am having problems viewing any report as a PDF with the birt viewer
> deployed in tomcat on a linux server (birt 2.0).
>
> I have tried the viewer on windows SBS 2003, Tomcat 5.5 and can view
> reports
> as pdf ok. However with the same viewer (same war file) deployed on
> Fedora
> Core 4, Tomcat 5.5 I cannot get the pdf view to work at all. All I get is
> an empty page in my web browser when I try to view a report as pdf. It is
> as if the file is not getting to the web browser somehow.
>
> I have checked and tried various things on the linux installation:
> - itext.1.3.jar is installed in the viewer / plugins
> - running tomcat 4.1 and 5.0
> - running tomcat with java 1.4 and 5
> - running tomcat as headless
> - even tried the same install on old Mandrake server!
> - no errors in catalina.out on tomcat.
>
> Has anyone got any ideas on what could be the problem or suggestions on
> what
> else to check to which might give me a clue?
>
> THanks in advanced,
>
> Ben Astill
>
>
Re: Viewing PDF with linux/tomcat help [message #109460 is a reply to message #108217] Sun, 15 January 2006 21:19 Go to previous message
Eclipse UserFriend
Due to not able to find TrueType fonts, an empty page returns in Fedora Core
4.

To resolve the problem, you should set up a font environment for BIRT.

1. Find the TrueType fonts folder or copy TrueType fonts to a folder.

2. Make these fonts available for JRE. If these fonts are not available
for JRE, Open font.properties file under jre/lib directory, set:
appendedfontpath=[font path]

3. Make these fonts available for BIRT. Launch BIRT by adding a JVM
system property: BIRT_FONT_PATH=[font path]

Thanks,

Gang

"Ben Astill" <bena@agnitio-csl.com> wrote in message
news:dq5q39$a9$1@utils.eclipse.org...
> Hi,
>
> I am having problems viewing any report as a PDF with the birt viewer
> deployed in tomcat on a linux server (birt 2.0).
>
> I have tried the viewer on windows SBS 2003, Tomcat 5.5 and can view
> reports
> as pdf ok. However with the same viewer (same war file) deployed on
> Fedora
> Core 4, Tomcat 5.5 I cannot get the pdf view to work at all. All I get is
> an empty page in my web browser when I try to view a report as pdf. It is
> as if the file is not getting to the web browser somehow.
>
> I have checked and tried various things on the linux installation:
> - itext.1.3.jar is installed in the viewer / plugins
> - running tomcat 4.1 and 5.0
> - running tomcat with java 1.4 and 5
> - running tomcat as headless
> - even tried the same install on old Mandrake server!
> - no errors in catalina.out on tomcat.
>
> Has anyone got any ideas on what could be the problem or suggestions on
> what
> else to check to which might give me a clue?
>
> THanks in advanced,
>
> Ben Astill
>
>
Previous Topic:Birt 2.0 RC problems with PDF
Next Topic:Error at runtime
Goto Forum:
  


Current Time: Thu Sep 18 09:04:38 EDT 2025

Powered by FUDForum. Page generated in 0.03556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top