Reports maintains data from the previous query. (Cache)

1

Good morning, I'm having trouble generating reports. Whenever I make some changes (UPDATE) to certain information in my report, jasper does not make the change.

 

Is there any way to clear the cache every time I run a new query?

fbenitez's picture
Joined: Apr 7 2016 - 11:37am
Last seen: 2 years 2 months ago

2 Answers:

1

Hi fbenitez.

Try this:

Access the jasperserver/WEB-INF directory (ex.: c:\Jaspersoft\jasperreports-server-cp-...\apacha-tomcat\webapps\jasperserver\WEB-INF).

Open the file applicationContext, edit "poolTimeout" in jdbcDataSourceServiceFactory from 900 to 1.

rborges.it's picture
Joined: May 18 2017 - 1:12pm
Last seen: 3 years 5 months ago
1
Hello, I have configured the xml file that you said, and it worked.
 
Thanks a lot for the help.
fbenitez's picture
Joined: Apr 7 2016 - 11:37am
Last seen: 2 years 2 months ago
Feedback
randomness