Hi there
I have two questions:
1) How can I kill thows damns JSC threads that kepp up running im my VM eventhough I stopped Tomcat. In the Servlet I call
Code:
http://forum.hibernate.org/index.php
but this doesn't stops the JCS cache. Then I do
Code:
CompositeCacheManager cacheManager = CompositeCacheManager.getInstance();
String[] names = cacheManager.getCacheNames();
for (int i = 0; i < names.length; i++) {
log.info("Disposing JCS cache: " + names[i]);
cacheManager.getCache(names[i]).dispose();
}
and this doesn't seem to do anything as well.
2) Is it possible do globally disable JCS? It is quite unhandy when I have to remove all the jcs-cache statements from the xml files to disable cacheing. When I just remove the cache config file I'll get a NullPointer, so this doesn't help neither.
I would like to have a hibernate config option, something like hibernate.cache.jcs=off, this would be really cool! Is there anything like this (could't find it)
Thanks for the help & cheers
-florian
PS: We are using hibernate 2.0.3