You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by mohamed felfel <mo...@gmail.com> on 2007/04/26 14:20:14 UTC

roller not finding ecache properties

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.




-- 
MoZey

Re: roller not finding ecache properties

Posted by mohamed felfel <mo...@gmail.com>.
Thank you, i'm still having issues, but now i understand that.


On 4/26/07, Allen Gilliland <al...@sun.com> wrote:
>
> 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.
> >
> >
> >
> >
>



-- 
MoZey

Re: roller not finding ecache properties

Posted by Allen Gilliland <al...@sun.com>.
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.
> 
> 
> 
>