Viewing PDF with linux/tomcat help [message #108217] |
Thu, 12 January 2006 09:45  |
Eclipse User |
|
|
|
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 #109460 is a reply to message #108217] |
Sun, 15 January 2006 21:19  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03375 seconds