uzi.vyper Posted December 18, 2012 Share Posted December 18, 2012 Jasper Server is not refreshing the data on change in database for both OLAP and ADHOC View. The result remains the same even if the data in the database is changed.The schema needs to be reloaded in order to refresh the new changes.Can you please help me a way out in which I dont need to update schema again and again. Link to comment Share on other sites More sharing options...
ajinkya_c Posted December 18, 2012 Share Posted December 18, 2012 I done this many time but my reports reflect change in data. Check for database connection from jasperserver enviroment. May be that connection takes data from older database. Link to comment Share on other sites More sharing options...
uzi.vyper Posted December 18, 2012 Author Share Posted December 18, 2012 I dont think so that the issue is with the database connection because when i flush the OLAP cache from the server setting the the changes are being reflected although I have already disabled the cache option.Are there any specific settings for Jasperserver enviroment as I am just configuring the datasource with the connection url? Link to comment Share on other sites More sharing options...
eric.flaux Posted June 4, 2013 Share Posted June 4, 2013 I come accross the same problem as uzi when creating adhoc reports. When the data are changed in the database, this appears late on the reports. I had no problem for the last 10 months and now it is getting more and more time before I can get the proper results when creating new adhoc reports. I had first 5 mn delays and it is getting worse, now I have to wait more than an hour before I can create a report and have the updated data. I guess there is a kind of cache that is used until the database is contacted again for fresh data. Maybe there is something wrong when requesting the database. I investigated on the server side but could not find anything strange. Any help about how this part of the software works will be appreciated. Link to comment Share on other sites More sharing options...
lovabill Posted August 29, 2016 Share Posted August 29, 2016 Sorry for the bump, but for the record:Solution for earlier versions: http://community.jaspersoft.com/wiki/how-modify-caching-values-if-your-data-does-not-update-constantlySolution for version 6.3:Edit C:Jaspersoftjasperreports-server-6.3.0apache-tomcatwebappsjasperserver-proWEB-INFadhoc-ehcache.xml line 26:timeToLiveSeconds="5400",where "5400" is the default seconds for cached items (i.e. the data source content). Decrease this timeout value. Link to comment Share on other sites More sharing options...
joanpaz Posted May 15, 2018 Share Posted May 15, 2018 Thanks a lot!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now