BIRT 2.2.1 birt-viewer/frameset?__report= and birt-viewer/run?__report= fail to display charts [message #260484] |
Sat, 03 November 2007 13:12  |
Eclipse User |
|
|
|
Originally posted by: john.johnhornsby.me.uk
Hi,
In BIRT 2.2.1 neither birt-viewer/frameset?__report= or
birt-viewer/frameset?__report= show charts as I have seen in previous
versions. They both reports with tables of data OK, but nothing for
charts.
I see that the charts are in fact produced on disk and they appear to be
referenced in the HTML that's produced with a reference to a certain
birt-viewer/preview?__imageID=.
The problem is that the preview servlet doesn't appear to be working or
present ? I don't see any servlet-mapping in the web.xml or indeed any
class in the jar containing the other servlets that might be the one to
handle preview.
How do I fix this problem?
Thanks
John Hornsby
|
|
|
|
|
|
Re: BIRT 2.2.1 birt-viewer/frameset?__report= and birt-viewer/run?__report= fail to display charts [message #260845 is a reply to message #260823] |
Tue, 06 November 2007 10:57  |
Eclipse User |
|
|
|
Originally posted by: john.johnhornsby.me.uk
Hi Jason,
Yes, the problem was the mising /preview mapping.
Once I added that it all worked fine.
I can only imagine I did not upgrade correctly.
Thanks,
John
"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:fgpspq$cuv$1@build.eclipse.org...
> John,
>
> The preview operation should have a mapping at the bottom of the web.xml
>
> <servlet-mapping>
> <servlet-name>EngineServlet</servlet-name>
> <url-pattern>/preview</url-pattern>
> </servlet-mapping>
>
> Does this exist in your web.xml?
>
> Also is your image directory been changed in your web.xml?
>
> <context-param>
> <param-name>BIRT_VIEWER_IMAGE_DIR</param-name>
> <param-value></param-value>
> </context-param>
>
>
>
> Jason
>
>
> John Hornsby wrote:
>> Hi Jason,
>>
>>
>>
>> I'm using tomcat 5.5.17.
>>
>>
>>
>> I switched the logging on and have attached the log file.
>>
>>
>>
>> I've also attached the html that is returned which refers to the /preview
>> servlet and references the image that has been created. Actually it
>> gets the name right but it's generated in:
>>
>> birt-viewer\report\images\16B95ED13E4572D77482DB5B05B1E6A7
>>
>> so it isn't found.
>>
>>
>>
>> Any help much appreciated.
>>
>> John
>>
>>
>>
>>
>>
>>
>>
>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>> news:fgnj7n$c8j$1@build.eclipse.org...
>>> John,
>>>
>>> Can you enable logging in the web.xml and post the log file?
>>> This works in my installation. What app server are you using?
>>>
>>> Jason
>>>
>>> John Hornsby wrote:
>>>> Hi,
>>>>
>>>> In BIRT 2.2.1 neither birt-viewer/frameset?__report= or
>>>> birt-viewer/frameset?__report= show charts as I have seen in previous
>>>> versions. They both reports with tables of data OK, but nothing for
>>>> charts.
>>>>
>>>> I see that the charts are in fact produced on disk and they appear to
>>>> be
>>>> referenced in the HTML that's produced with a reference to a certain
>>>> birt-viewer/preview?__imageID=.
>>>>
>>>> The problem is that the preview servlet doesn't appear to be working or
>>>> present ? I don't see any servlet-mapping in the web.xml or indeed
>>>> any
>>>> class in the jar containing the other servlets that might be the one to
>>>> handle preview.
>>>>
>>>> How do I fix this problem?
>>>>
>>>> Thanks
>>>> John Hornsby
>>>>
>>>>
>>>>
>>
>>
>> Chart of Total Number of Orders in the Last 30 Days
>>
|
|
|
Powered by
FUDForum. Page generated in 0.09315 seconds