Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
BIRT generating a 0 byte image file, when run with load balancer.
torjoshi
Hi,
Running BIRT 2.6, Apache httpd 2.2 and JBoss 4.2.3. I am trying to run BIRT in a non-sticky mode, report is rendered from the server. The rptdocument renders the tabular data correctly. However, images (in PNG) aren't. When I monitor the HTTP request(for the image), the response is with code 200 (Success), however the bytes delivered is zero.
From Browser, in case of FF, right click on the image and refresh, loads the chart in seperate tab. In the access log, I see a separate request is made and response is correct (with bytes greater than zero). IE doesn't give me the option to load the image at all.
On exporting the report to PDF, Word or Excel, the image is rendered.
I am trying to figure out what's happening. Saw one of the posts where the recommendation was to use HTMLServerImageHandler, I am using that.
Trying to figure what's going on. Appreciate any help or pointers.
Thank you.
RJ
PS: Apologizes for incorrect heading - "BIRT is generating a file, it's the response from BIRT that is zero bytes".
Find more posts tagged with
Comments
torjoshi
<blockquote class='ipsBlockquote' data-author="'torjoshi'" data-cid="90314" data-time="1323210805" data-date="06 December 2011 - 03:33 PM"><p>
Hi,<br />
<br />
Running BIRT 2.6, Apache httpd 2.2 and JBoss 4.2.3. I am trying to run BIRT in a non-sticky mode, report is rendered from the server. The rptdocument renders the tabular data correctly. However, images (in PNG) aren't. When I monitor the HTTP request(for the image), the response is with code 200 (Success), however the bytes delivered is zero. <br />
From Browser, in case of FF, right click on the image and refresh, loads the chart in seperate tab. In the access log, I see a separate request is made and response is correct (with bytes greater than zero). IE doesn't give me the option to load the image at all.<br />
On exporting the report to PDF, Word or Excel, the image is rendered.<br />
<br />
I am trying to figure out what's happening. Saw one of the posts where the recommendation was to use HTMLServerImageHandler, I am using that.<br />
<br />
Trying to figure what's going on. Appreciate any help or pointers.<br />
<br />
Thank you.<br />
<br />
RJ<br /></p></blockquote>
<br />
Doesn't matter whether I run the load balancer in sticky or non-sticky mode, image doesn't render.
torjoshi
<blockquote class='ipsBlockquote' data-author="'torjoshi'" data-cid="90315" data-time="1323211199" data-date="06 December 2011 - 03:39 PM"><p>
Doesn't matter whether I run the load balancer in sticky or non-sticky mode.<br /></p></blockquote>
<br />
<br />
To add to my list of questions - Is BIRT 2.6 ready for clustering/load balancing? Has anyone used it for that?
JasonW
Can you try using the BIRT Viewer with the same report in clustered environment as test? BIRT should work fine in this setup.
Jason