Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312883 - Random Errors in PDF download from viewer, Content Length = [-1]
Summary: Random Errors in PDF download from viewer, Content Length = [-1]
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Server 2008
: P3 normal (vote)
Target Milestone: 3.7.0   Edit
Assignee: Birt-ReportViewer CLA
QA Contact:
URL:
Whiteboard: Obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-14 06:01 EDT by Luis Trigueiros CLA
Modified: 2011-05-26 13:33 EDT (History)
1 user (show)

See Also:


Attachments
Integration source code (3.14 KB, application/octet-stream)
2010-05-14 06:01 EDT, Luis Trigueiros CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Trigueiros CLA 2010-05-14 06:01:24 EDT
Created attachment 168520 [details]
Integration source code

Greetings,
I'm integrating BIRT on my app using the viewer in the following way:
1) Have BIRT VIEWER and the app running side by side on the same Tomcat container
2) The app generates periodic PDF report using BIRT, by performing HTTP download the PDF report from the viewer using HttpClient from Apache HTTP Commons.

So my question is more of an integration nature than from a BIRT problem.
May problem is that randomly I get a PDF generated that can´t be opened by acrobat read, the PDF is badly generated.
I'm checking the HTTP status code and it is ok, but the content length is not populated, it not required to generated the PDF but it would be handy it the viewer servlet populates the content length in order to know the full size of the PDF.
My log files always show that the HTTP download status code is OK.
At the moment I'm out of ideas, I'm doing something wrong ?
Thank Oscar
Comment 1 Xiaoying Gu CLA 2011-02-23 21:37:09 EST
Seems it's not a BIRT issue and we dont have this issue in the birt viewer.
Set as NOT_ECLIPSE.