i'm developing a Web Application that load data from my pc to S3 bucket . Web Application are deployed on JBoss Application Server 7 but i have one problem .... during upload jboss store in cache ( I think ) my file and after upload it transfer the file to s3.
The problem is that jboss save in cache all file and the disk space decrease ... and the only way to clean the cache is restarting jboss ...
There are some jboss configuration necessary to manage this problem?
I would like that jboss use only some disk space for caching and after that clean it.