EHC ❯ Ehcache does not work with JBoss AS 5
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
Ehcache as second-level-cache for hibernate (version 1.2.4, 1.5.0 and 1.6.0-beta4) does not work with JBoss Application Server 5.0.1.GA due to following error:
java.lang.IllegalArgumentException: Cache name cannot contain ‘/’ characters.
at net.sf.ehcache.config.CacheConfiguration.setName(CacheConfiguration.java:164)
at net.sf.ehcache.Cache.setName(Cache.java:1648)
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:643)
at net.sf.ehcache.hibernate.EhCacheProvider.buildCache(EhCacheProvider.java:92)
at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.buildEntityRegion(RegionFactoryCacheProviderBridge.java:96)
at org.hibernate.impl.SessionFactoryImpl.
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira