seewseew Posted December 3, 2014 Share Posted December 3, 2014 Jasper Server 5.5, In applicationContext.xml config as below<bean id="fileVirtualizerFactory" class="com.jaspersoft.jasperserver.api.engine.common.service.impl.SharedVirtualizerStoreFactory"> <property name="maxSize" value="100"></property> <property name="storeFactory"> <bean class="net.sf.jasperreports.engine.util.SwapFileVirtualizerStoreFactory"> <property name="directory" value="D:/JSTemp"/> <property name="blockSize" value="4096"/> <property name="minGrowCount" value="64"/> </bean> </property></bean> After execute rest 2 webservice to generate a report and download the result, the swap files are not deleted as below. How to delete swap files automatically after download the result ?This problem persist on all OS espectialy linux because linux syste has a limitation for number of files. Link to comment Share on other sites More sharing options...
nthapa Posted December 3, 2014 Share Posted December 3, 2014 Although I cannot say for certain right now, but this problem might have been fixed in newer version of JRS. specially 5.6 and above. I think there was some work on similar issue. 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