Skip to main content



      Home
Home » Archived » BIRT » Images not displaying
Images not displaying [message #209424] Fri, 05 January 2007 10:48 Go to next message
Eclipse UserFriend
Originally posted by: elgoodm.sandia.gov

Images in my report that are referenced via URI's display fine when I test
the report within eclipse, but do not display when I use the
WebViewerExample to display the report on an application server.

In the log I am getting messages like the following:
Jan 5, 2007 8:26:01 AM
org.eclipse.birt.report.engine.api.HTMLServerImageHandler handleImage
SEVERE: imageURL or ImageDIR is not set!

Here are some details on my setup:
BIRT Viewer Version: 2.1.0
BIRT Engine Version: 2.1.0
Application Server: Weblogic 9.2

For the image URI's, I use relative paths, e.g.
if (!params["Asset Subtype"].match("DATA SUBJECT AREA PATTERN"))
"../images/moreGeneral.bmp";
else
"../images/blank.bmp";

Within the WAR, all of my images are stored in WebRoot/images/ and the
report is stored in WebRoot/prod/, so the relative path should be correct.

To display the report, I use the URL:
<server location>/WebViewerExample/run?__report=prod/data.rptdesign

In the generated HTML, displaying the report with eclipse I get image tags
like the following:
<img id="AUTOGENBOOKMARK_24" src="/viewer/run?__imageID=file560.bmp"
alt="">
However, the generated HTML with the application server has
<img id="AUTOGENBOOKMARK_24" alt="">

Any ideas?

Thanks,
Eric
Re: Images not displaying [message #209497 is a reply to message #209424] Fri, 05 January 2007 14:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: home4slc.pacbell.net

Hi Eric,

I have been experiencing a similar, if not exactly the same, problem for
quite some time now. See these two posts:

http://dev.eclipse.org/newslists/news.eclipse.birt/msg15116. html

http://dev.eclipse.org/newslists/news.eclipse.birt/msg15468. html

For the last one I believe I've been told to log a bug. I'll do so
later today and reference all three of these posts. Once I've logged
the bug I'll add another response to this post with the bug number.

Regards,

Susan

Eric Goodman wrote:
> Images in my report that are referenced via URI's display fine when I
> test the report within eclipse, but do not display when I use the
> WebViewerExample to display the report on an application server.
>
> In the log I am getting messages like the following:
> Jan 5, 2007 8:26:01 AM
> org.eclipse.birt.report.engine.api.HTMLServerImageHandler handleImage
> SEVERE: imageURL or ImageDIR is not set!
>
> Here are some details on my setup:
> BIRT Viewer Version: 2.1.0
> BIRT Engine Version: 2.1.0
> Application Server: Weblogic 9.2
>
> For the image URI's, I use relative paths, e.g.
> if (!params["Asset Subtype"].match("DATA SUBJECT AREA PATTERN"))
> "../images/moreGeneral.bmp";
> else
> "../images/blank.bmp";
>
> Within the WAR, all of my images are stored in WebRoot/images/ and the
> report is stored in WebRoot/prod/, so the relative path should be correct.
>
> To display the report, I use the URL:
> <server location>/WebViewerExample/run?__report=prod/data.rptdesign
>
> In the generated HTML, displaying the report with eclipse I get image
> tags like the following:
> <img id="AUTOGENBOOKMARK_24" src="/viewer/run?__imageID=file560.bmp"
> alt="">
> However, the generated HTML with the application server has
> <img id="AUTOGENBOOKMARK_24" alt="">
>
> Any ideas?
>
> Thanks,
> Eric
>
Re: Images not displaying [message #209543 is a reply to message #209497] Fri, 05 January 2007 17:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: elgoodm.sandia.gov

Susan,
Thanks for the info.

A little more information: I tried deploying my report and the viewer on
Tomcat 5.5.20 and the report displays fine. So it appears to be a
compatibility problem with Weblogic.

Eric
Re: Images not displaying [message #209847 is a reply to message #209543] Mon, 08 January 2007 13:29 Go to previous message
Eclipse UserFriend
Originally posted by: home4slc.pacbell.net

Hi Eric,

I filed a bug today about charts not appearing in the web viewer app on
WebSphere 5.1

https://bugs.eclipse.org/bugs/show_bug.cgi?id=169873

I too can get my charts to appear on Tomcat 5.5.x. The charts also
appear in WebSphere 6.0.

You might want to update the bug with the info about it not working on
WebLogid either.

Thanks,

Susan

Eric wrote:

> Susan,
> Thanks for the info.
>
> A little more information: I tried deploying my report and the viewer on
> Tomcat 5.5.20 and the report displays fine. So it appears to be a
> compatibility problem with Weblogic.
>
> Eric
>
Previous Topic:Several Questions about using cusotm BIRT lib
Next Topic:Chart Size By URL Parameter
Goto Forum:
  


Current Time: Fri May 09 21:03:24 EDT 2025

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

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

Back to the top