09:25:32,312  WARN CacheManager:271 - Creating a new instance of CacheManager using the diskStorePath "/data/ehcache" which is already used by an existing CacheManager.
The source of the configuration was classpath.
The diskStore path for this CacheManager will be set to /data/ehcache\ehcache_auto_created_1283217932312.
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.
我的配置:
<diskStore path="/data/ehcache" />

<defaultCache maxElementsInMemory="10000" 
              eternal="false"
          overflowToDisk="true" 
          timeToIdleSeconds="120" 
          timeToLiveSeconds="120"
  diskPersistent="false" 
  diskExpiryThreadIntervalSeconds="120" />
  
<cache name="org.hibernate.cache.UpdateTimestampsCache"
   maxElementsInMemory="5000" 
   eternal="true" 
   overflowToDisk="true" />
   
<cache name="org.hibernate.cache.StandardQueryCache"
   maxElementsInMemory="10000" 
   eternal="false" 
   timeToLiveSeconds="120"
   overflowToDisk="true" />
很简单不知道老是报那错。呵呵请叫一下大家哈谢谢