Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EHCache Disable

Tags:

ehcache

Is there a way to disable ehache externally using a property file? CacheManager.shutdown() doesnt seem to work? Actually we have 2 app with the same source code i require ehcache in one and not the other. one where i dont need cache is a webapp! Unable to figure to out yet how to go about this?

like image 350
hakish Avatar asked Oct 20 '25 03:10

hakish


1 Answers

There is a system property you can use for this:

net.sf.ehcache.disabled=true
like image 105
Alex Miller Avatar answered Oct 21 '25 20:10

Alex Miller



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!