those messages don't mean it's not finding your ehcache config file, they simply mean that there is no specific cache region defined for those caches. The way ehcache works with hibernate is that each persistent class defines its own cache region and you can configure ehcache to behave different for each region if you want.

if you look at the default ehcache config in the roller webapp you can see that there are cache regions defined for only a few specific regions and the rest of the regions (listed below) will simply use the settings defined by the "defaultCache" element.

so basically, you can ignore those messages, they are just ehcaches way of telling you that you didn't define a cache configuration for that region and that it's going to use the default settings.

-- Allen


mohamed felfel wrote:
Despite the fact that i have WEB-INF/classes/ecache.xml, i am getting these
errors when attempting to deploy.

WARN  2007-04-26 06:25:53,662 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.BookmarkData]; using defaults.
WARN  2007-04-26 06:25:54,434 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.CommentData]; using defaults.
WARN  2007-04-26 06:25:54,460 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.FolderData]; using defaults.
WARN  2007-04-26 06:25:54,505 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogEntryTagData]; using defaults.
WARN  2007-04-26 06:25:54,524 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PermissionsData]; using defaults.
WARN  2007-04-26 06:25:54,540 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.RoleData]; using defaults.
WARN  2007-04-26 06:25:54,550 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.HitCountData]; using defaults.
WARN  2007-04-26 06:25:55,094 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogCategoryData]; using defaults.
WARN  2007-04-26 06:25:55,178 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.RefererData]; using defaults.
WARN  2007-04-26 06:25:55,232 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.AutoPingData]; using defaults.
WARN  2007-04-26 06:25:55,245 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogCategoryAssoc]; using defaults.
WARN  2007-04-26 06:25:55,306 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.TaskLockData]; using defaults.
WARN  2007-04-26 06:25:55,316 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogEntryData]; using defaults.
WARN  2007-04-26 06:25:55,342 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogTemplate]; using defaults.
WARN  2007-04-26 06:25:55,362 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PingQueueEntryData]; using defaults.
WARN  2007-04-26 06:25:55,374 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PingCategoryRestrictionData]; using
defaults.




Reply via email to