Because in my log file I have only something like this
for hibernate:
Code:
2007-07-09 16:14:09,873 DEBUG [org.hibernate.cache.EhCacheProvider] Creating EhCacheProvider from a specified resource: ehcache.xml Resolved to URL: file:/usr/share/JBoss/server/default/./deploy/bivela.war/WEB-INF/classes/ehcache.xml
2007-07-09 16:14:09,901 DEBUG [net.sf.ehcache.config.ConfigurationFactory] Configuring ehcache from URL: file:/usr/share/JBoss/server/default/./deploy/bivela.war/WEB-INF/classes/ehcache.xml
2007-07-09 16:14:09,901 DEBUG [net.sf.ehcache.config.ConfigurationFactory] Configuring ehcache from InputStream
2007-07-09 16:14:09,917 DEBUG [net.sf.ehcache.config.DiskStoreConfiguration] Disk Store Path: /tmp
2007-07-09 16:14:09,925 DEBUG [net.sf.ehcache.config.ConfigurationHelper] No CacheManagerEventListenerFactory class specified. Skipping...
2007-07-09 16:14:09,926 DEBUG [net.sf.ehcache.config.ConfigurationHelper] No CachePeerListenerFactoryConfiguration specified. Not configuring a CacheManagerPeerListener.
2007-07-09 16:14:09,926 DEBUG [net.sf.ehcache.config.ConfigurationHelper] No CachePeerProviderFactoryConfiguration specified. Not configuring a CacheManagerPeerProvider.
2007-07-09 16:14:09,941 DEBUG [net.sf.ehcache.config.ConfigurationHelper] No BootstrapCacheLoaderFactory class specified. Skipping...
and for acegi:
Code:
2007-07-09 16:14:11,223 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Eagerly caching bean 'usersCache' to allow for resolving potential circular references
2007-07-09 16:14:11,224 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Creating shared instance of singleton bean 'cacheFactoryBean'
2007-07-09 16:14:11,225 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Creating instance of bean 'cacheFactoryBean' with merged definition [Root bean: class [org.springframework.cache.ehcache.EhCacheFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/acegi-security.xml]]
2007-07-09 16:14:11,233 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Eagerly caching bean 'cacheFactoryBean' to allow for resolving potential circular references
2007-07-09 16:14:11,234 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Creating shared instance of singleton bean 'cacheManagerFactoryBean'
2007-07-09 16:14:11,234 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Creating instance of bean 'cacheManagerFactoryBean' with merged definition [Root bean: class [org.springframework.cache.ehcache.EhCacheManagerFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/acegi-security.xml]]
2007-07-09 16:14:11,242 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Eagerly caching bean 'cacheManagerFactoryBean' to allow for resolving potential circular references
2007-07-09 16:14:11,242 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Invoking afterPropertiesSet() on bean with name 'cacheManagerFactoryBean'
2007-07-09 16:14:11,242 INFO [org.springframework.cache.ehcache.EhCacheManagerFactoryBean] Initializing EHCache CacheManager
2007-07-09 16:14:11,242 DEBUG [net.sf.ehcache.config.ConfigurationFactory] Configuring ehcache from InputStream
2007-07-09 16:14:11,244 DEBUG [net.sf.ehcache.config.DiskStoreConfiguration] Disk Store Path: /tmp
2007-07-09 16:14:11,244 WARN [net.sf.ehcache.CacheManager] Creating a new instance of CacheManager using the diskStorePath "/tmp" which is already used by an existing CacheManager.
The source of the configuration was InputStream java.io.ByteArrayInputStream@29d838.
The diskStore path for this CacheManager will be set to /tmp/ehcache_auto_created_1183990451244.
To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
2007-07-09 16:14:11,245 DEBUG [net.sf.ehcache.config.ConfigurationHelper] No CacheManagerEventListenerFactory class specified. Skipping...
2007-07-09 16:14:11,245 DEBUG [net.sf.ehcache.config.ConfigurationHelper] No CachePeerListenerFactoryConfiguration specified. Not configuring a CacheManagerPeerListener.
2007-07-09 16:14:11,245 DEBUG [net.sf.ehcache.config.ConfigurationHelper] No CachePeerProviderFactoryConfiguration specified. Not configuring a CacheManagerPeerProvider.
2007-07-09 16:14:11,245 DEBUG [net.sf.ehcache.config.ConfigurationHelper] No BootstrapCacheLoaderFactory class specified. Skipping...
2007-07-09 16:14:11,245 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Invoking afterPropertiesSet() on bean with name 'cacheFactoryBean'
2007-07-09 16:14:11,245 DEBUG [org.springframework.cache.ehcache.EhCacheFactoryBean] Creating new EHCache cache region 'hibernateCache'
2007-07-09 16:14:11,245 DEBUG [net.sf.ehcache.store.DiskStore] Deleting data file hibernateCache.data
2007-07-09 16:14:11,246 DEBUG [net.sf.ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for hibernateCache
2007-07-09 16:14:11,246 DEBUG [net.sf.ehcache.store.LruMemoryStore] hibernateCache Cache: Using SpoolingLinkedHashMap implementation
2007-07-09 16:14:11,246 DEBUG [net.sf.ehcache.Cache] Initialised cache: hibernateCache
and there is no information at all that application uses objects from cache