Skip to main content



      Home
Home » Archived » BIRT » BIRT on Tomcat - caching
BIRT on Tomcat - caching [message #134799] Thu, 23 February 2006 01:34 Go to next message
Eclipse UserFriend
Originally posted by: simon.pearce.bt.com

Running a BIRT report under Tomcat, it creates a file called
reportname.rpddocument

Then next time you call up the report - even with different parameters -
you get the cached version. Why is this - and how can I make it make a new
report each time?

This even happens with the sample report supplied with BIRT.

I am running a very recent version (runtime 2.0.1) - and I don't recall
this as a problem from earlier, but I'm not certain.

thanks
Simon
Re: BIRT on Tomcat - caching [message #134863 is a reply to message #134799] Thu, 23 February 2006 03:32 Go to previous messageGo to next message
Eclipse UserFriend
Hello Simon,

try to add __overwrite=true to your URL.

so your URL should look something like this:

http://birtserver:8080/birt-viewer/frameset?__report=yourrep ort.rptdesign&__overwrite=true

this worked for me!

hope that helps!
Re: BIRT on Tomcat - caching [message #135073 is a reply to message #134863] Thu, 23 February 2006 08:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jarif.despammed.com

Mr. Burns wrote:
> Hello Simon,
>
> try to add __overwrite=true to your URL.
>
> so your URL should look something like this:
>
> http://birtserver:8080/birt-viewer/frameset?__report=yourrep ort.rptdesign&__overwrite=true
>
> this worked for me!
>
> hope that helps!
>

Even that seems to fail sometimes. Looks like the browser caches the
report too, so adding a random (or time based) dummy parameter to the
url helps in that.

It is also possible to add __document=name parameter, and using
something special in it. I use "rptcache/<sessionid>.rptdocument ( I
have created a rptcache directory and using one file per servlet session
so that the users do not overwrite each others reports).
Re: BIRT on Tomcat - caching [message #135470 is a reply to message #135073] Thu, 23 February 2006 17:29 Go to previous message
Eclipse UserFriend
Originally posted by: simon.pearce.bt.com

thanks for those suggestions. I have done both and it seems to work fine.

This newgroup is wonderful.
Previous Topic:Difference between "Data" and "Text" data report elements?
Next Topic:Crosstabs
Goto Forum:
  


Current Time: Fri Jun 06 11:29:17 EDT 2025

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

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

Back to the top