Skip to main content



      Home
Home » Archived » BIRT » BIRT 2.2.1 birt-viewer/frameset?__report= and birt-viewer/run?__report= fail to display charts
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 Go to next message
Eclipse UserFriend
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 #260658 is a reply to message #260484] Mon, 05 November 2007 12:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

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
>
>
>
Re: BIRT 2.2.1 birt-viewer/frameset?__report= and birt-viewer/run?__report= fail to display charts [message #260805 is a reply to message #260658] Tue, 06 November 2007 07:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.johnhornsby.me.uk

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
>>
>>
>>



Re: BIRT 2.2.1 birt-viewer/frameset?__report= and birt-viewer/run?__report= fail to display charts [message #260823 is a reply to message #260805] Tue, 06 November 2007 09:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

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
>
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 Go to previous message
Eclipse UserFriend
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
>>
Previous Topic:1. Page Number is not coming properly in HTML format
Next Topic:Charting a data cube
Goto Forum:
  


Current Time: Fri Jul 18 05:26:04 EDT 2025

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

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

Back to the top