Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Cached report...
Cached report... [message #482543] Wed, 26 August 2009 23:56 Go to next message
Steve Whatmore is currently offline Steve WhatmoreFriend
Messages: 95
Registered: July 2009
Member
Good evening,

I have just updated to the latest release of BIRT and was quickly throwing
up a sample report based on an XML datasource and it seems that the report
viewer is using a cached or the first saved report.

The report works correctly when I preview it in Eclipse but when I try to
access it from the viewer I am getting the original template that I based
the report on.

I have read several threads regarding setting the cached repoprts and have
set both of the following:

<context-param>
<param-name>BIRT_OVERWRITE_DOCUMENT</param-name>
<param-value>true</param-value>
</context-param>

and the overwrite flag on the URL

/frameset?__report=usersReport.rptdesign&XMLSourceFile=C :\Temp\get_users_rpt-08-26-2009.xml&__overwrite=true& ;__sessionId=20090826_190350_702&__dpi=96

but to no avail.

I have cleaned my Tomcat directory and made sure the BIRT working folders
were empty but again to avail.

I have also searched my file system for a .rptdocument that may be hanging
out and there are none.

Please help.

Whatty
Re: Cached report... [message #482721 is a reply to message #482543] Thu, 27 August 2009 16:51 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Does it make any difference if you specify
__document=c:/temp/test.rptdocument in the url?


Jason

Whatty wrote:
> Good evening,
>
> I have just updated to the latest release of BIRT and was quickly
> throwing up a sample report based on an XML datasource and it seems that
> the report viewer is using a cached or the first saved report.
>
> The report works correctly when I preview it in Eclipse but when I try
> to access it from the viewer I am getting the original template that I
> based the report on.
>
> I have read several threads regarding setting the cached repoprts and
> have set both of the following:
>
> <context-param>
> <param-name>BIRT_OVERWRITE_DOCUMENT</param-name>
> <param-value>true</param-value>
> </context-param>
>
> and the overwrite flag on the URL
>
> /frameset?__report=usersReport.rptdesign&XMLSourceFile=C :\Temp\get_users_rpt-08-26-2009.xml&__overwrite=true& ;__sessionId=20090826_190350_702&__dpi=96
>
>
> but to no avail.
>
> I have cleaned my Tomcat directory and made sure the BIRT working
> folders were empty but again to avail.
>
> I have also searched my file system for a .rptdocument that may be
> hanging out and there are none.
>
> Please help.
>
> Whatty
Re: Cached report... [message #483251 is a reply to message #482721] Mon, 31 August 2009 17:58 Go to previous messageGo to next message
Steve Whatmore is currently offline Steve WhatmoreFriend
Messages: 95
Registered: July 2009
Member
Nope unfortunately that did not help.

The funny thing is that it works from the IDE and I see all my changes.

When I run it from Tomcat I also see some of my changes (ie. changes in how
I process the XML file elements) but the table header itself is still based
upon the template I used.

I went into the XML view of the report and I can't see those labels (ie.
"Customer Listing") in the document at all so I have no idea WTF is going
on.

I deleted the header row in my table and recreated it and now I am getting
now header row at but again it seems to work in the IDE.

Please help


"Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
news:h76df4$v7m$2@build.eclipse.org...
> Does it make any difference if you specify
> __document=c:/temp/test.rptdocument in the url?
>
>
> Jason
>
> Whatty wrote:
>> Good evening,
>>
>> I have just updated to the latest release of BIRT and was quickly
>> throwing up a sample report based on an XML datasource and it seems that
>> the report viewer is using a cached or the first saved report.
>>
>> The report works correctly when I preview it in Eclipse but when I try to
>> access it from the viewer I am getting the original template that I based
>> the report on.
>>
>> I have read several threads regarding setting the cached repoprts and
>> have set both of the following:
>>
>> <context-param>
>> <param-name>BIRT_OVERWRITE_DOCUMENT</param-name>
>> <param-value>true</param-value>
>> </context-param>
>>
>> and the overwrite flag on the URL
>>
>> /frameset?__report=usersReport.rptdesign&XMLSourceFile=C :\Temp\get_users_rpt-08-26-2009.xml&__overwrite=true& ;__sessionId=20090826_190350_702&__dpi=96
>> but to no avail.
>>
>> I have cleaned my Tomcat directory and made sure the BIRT working folders
>> were empty but again to avail.
>>
>> I have also searched my file system for a .rptdocument that may be
>> hanging out and there are none.
>>
>> Please help.
>>
>> Whatty
Re: Cached report... [message #483252 is a reply to message #483251] Mon, 31 August 2009 18:08 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Do you mean templates or libraries?

Whatty wrote:
> Nope unfortunately that did not help.
>
> The funny thing is that it works from the IDE and I see all my changes.
>
> When I run it from Tomcat I also see some of my changes (ie. changes in
> how I process the XML file elements) but the table header itself is
> still based upon the template I used.
>
> I went into the XML view of the report and I can't see those labels (ie.
> "Customer Listing") in the document at all so I have no idea WTF is
> going on.
>
> I deleted the header row in my table and recreated it and now I am
> getting now header row at but again it seems to work in the IDE.
>
> Please help
>
>
> "Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
> news:h76df4$v7m$2@build.eclipse.org...
>> Does it make any difference if you specify
>> __document=c:/temp/test.rptdocument in the url?
>>
>>
>> Jason
>>
>> Whatty wrote:
>>> Good evening,
>>>
>>> I have just updated to the latest release of BIRT and was quickly
>>> throwing up a sample report based on an XML datasource and it seems
>>> that the report viewer is using a cached or the first saved report.
>>>
>>> The report works correctly when I preview it in Eclipse but when I
>>> try to access it from the viewer I am getting the original template
>>> that I based the report on.
>>>
>>> I have read several threads regarding setting the cached repoprts and
>>> have set both of the following:
>>>
>>> <context-param>
>>> <param-name>BIRT_OVERWRITE_DOCUMENT</param-name>
>>> <param-value>true</param-value>
>>> </context-param>
>>>
>>> and the overwrite flag on the URL
>>>
>>> /frameset?__report=usersReport.rptdesign&XMLSourceFile=C :\Temp\get_users_rpt-08-26-2009.xml&__overwrite=true& ;__sessionId=20090826_190350_702&__dpi=96
>>> but to no avail.
>>>
>>> I have cleaned my Tomcat directory and made sure the BIRT working
>>> folders were empty but again to avail.
>>>
>>> I have also searched my file system for a .rptdocument that may be
>>> hanging out and there are none.
>>>
>>> Please help.
>>>
>>> Whatty
>
Re: Cached report... [message #483253 is a reply to message #483252] Mon, 31 August 2009 18:14 Go to previous messageGo to next message
Steve Whatmore is currently offline Steve WhatmoreFriend
Messages: 95
Registered: July 2009
Member
Found it,

It was related to my I18N strings. I had replaced the original template
headers with my own values and specified an I18N string from the property
files but the original content was being maintiained in the tag, something
like this.

<text-property name="text"
key="reports.usersReport.title">Customer</text-property>

it seems that it was not finding my messages.properties file so it would use
the default

I had copied the original label from the template to the new columns that I
had added, so they all ended up with this default content in all my headers

When I deleted the header row and created a new row, I had to create new
labels as a header for each column and thus I did not specifiy a default
text label fir abt if them but went right to the localization tab and
specified the I18N key to the resources file, the resource is not being at
all and thus a completely empty header row.

Thanks for the assistance


"Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
news:h7h3eh$tk5$1@build.eclipse.org...
> Do you mean templates or libraries?
>
> Whatty wrote:
>> Nope unfortunately that did not help.
>>
>> The funny thing is that it works from the IDE and I see all my changes.
>>
>> When I run it from Tomcat I also see some of my changes (ie. changes in
>> how I process the XML file elements) but the table header itself is still
>> based upon the template I used.
>>
>> I went into the XML view of the report and I can't see those labels (ie.
>> "Customer Listing") in the document at all so I have no idea WTF is going
>> on.
>>
>> I deleted the header row in my table and recreated it and now I am
>> getting now header row at but again it seems to work in the IDE.
>>
>> Please help
>>
>>
>> "Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
>> news:h76df4$v7m$2@build.eclipse.org...
>>> Does it make any difference if you specify
>>> __document=c:/temp/test.rptdocument in the url?
>>>
>>>
>>> Jason
>>>
>>> Whatty wrote:
>>>> Good evening,
>>>>
>>>> I have just updated to the latest release of BIRT and was quickly
>>>> throwing up a sample report based on an XML datasource and it seems
>>>> that the report viewer is using a cached or the first saved report.
>>>>
>>>> The report works correctly when I preview it in Eclipse but when I try
>>>> to access it from the viewer I am getting the original template that I
>>>> based the report on.
>>>>
>>>> I have read several threads regarding setting the cached repoprts and
>>>> have set both of the following:
>>>>
>>>> <context-param>
>>>> <param-name>BIRT_OVERWRITE_DOCUMENT</param-name>
>>>> <param-value>true</param-value>
>>>> </context-param>
>>>>
>>>> and the overwrite flag on the URL
>>>>
>>>> /frameset?__report=usersReport.rptdesign&XMLSourceFile=C :\Temp\get_users_rpt-08-26-2009.xml&__overwrite=true& ;__sessionId=20090826_190350_702&__dpi=96
>>>> but to no avail.
>>>>
>>>> I have cleaned my Tomcat directory and made sure the BIRT working
>>>> folders were empty but again to avail.
>>>>
>>>> I have also searched my file system for a .rptdocument that may be
>>>> hanging out and there are none.
>>>>
>>>> Please help.
>>>>
>>>> Whatty
>>
Re: Cached report... [message #483254 is a reply to message #483252] Mon, 31 August 2009 18:24 Go to previous message
Steve Whatmore is currently offline Steve WhatmoreFriend
Messages: 95
Registered: July 2009
Member
Created a new report and used the "My First Report" template, which gave me
the nice Customer Listing table layout and replaced that with my own content
(adding / removing existing elements) to get my report

"Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
news:h7h3eh$tk5$1@build.eclipse.org...
> Do you mean templates or libraries?
>
> Whatty wrote:
>> Nope unfortunately that did not help.
>>
>> The funny thing is that it works from the IDE and I see all my changes.
>>
>> When I run it from Tomcat I also see some of my changes (ie. changes in
>> how I process the XML file elements) but the table header itself is still
>> based upon the template I used.
>>
>> I went into the XML view of the report and I can't see those labels (ie.
>> "Customer Listing") in the document at all so I have no idea WTF is going
>> on.
>>
>> I deleted the header row in my table and recreated it and now I am
>> getting now header row at but again it seems to work in the IDE.
>>
>> Please help
>>
>>
>> "Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
>> news:h76df4$v7m$2@build.eclipse.org...
>>> Does it make any difference if you specify
>>> __document=c:/temp/test.rptdocument in the url?
>>>
>>>
>>> Jason
>>>
>>> Whatty wrote:
>>>> Good evening,
>>>>
>>>> I have just updated to the latest release of BIRT and was quickly
>>>> throwing up a sample report based on an XML datasource and it seems
>>>> that the report viewer is using a cached or the first saved report.
>>>>
>>>> The report works correctly when I preview it in Eclipse but when I try
>>>> to access it from the viewer I am getting the original template that I
>>>> based the report on.
>>>>
>>>> I have read several threads regarding setting the cached repoprts and
>>>> have set both of the following:
>>>>
>>>> <context-param>
>>>> <param-name>BIRT_OVERWRITE_DOCUMENT</param-name>
>>>> <param-value>true</param-value>
>>>> </context-param>
>>>>
>>>> and the overwrite flag on the URL
>>>>
>>>> /frameset?__report=usersReport.rptdesign&XMLSourceFile=C :\Temp\get_users_rpt-08-26-2009.xml&__overwrite=true& ;__sessionId=20090826_190350_702&__dpi=96
>>>> but to no avail.
>>>>
>>>> I have cleaned my Tomcat directory and made sure the BIRT working
>>>> folders were empty but again to avail.
>>>>
>>>> I have also searched my file system for a .rptdocument that may be
>>>> hanging out and there are none.
>>>>
>>>> Please help.
>>>>
>>>> Whatty
>>
Previous Topic:Grouping Mailing Labels
Next Topic:Open a sub-report with a link inside of the main report
Goto Forum:
  


Current Time: Mon Sep 23 09:51:31 GMT 2024

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

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

Back to the top