cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <>
Subject Re: Portal won't start in trunk
Date Thu, 13 Oct 2005 08:52:34 GMT
Sylvain Wallez wrote:
> Fixed. The problem was caused by the GroupBasedProfileManager which was 
> not preloaded and thus wasn't listening for events. This led the portal 
> temporary attribute (don't know what that is) named 
> "org.apache.cocoon.portal.profile.impl.AbstractProfileManager/User" not 
> being initialized, thus the NPE.
> The lazy loading brings some interesting performance improvements by 
> avoiding not only the initialization of components, but also even the 
> loading of classes. Problem is that it requires configuration writers to 
> know what components have to be loaded at startup time.
> So maybe we should be a bit less lazy, and load the classes to check for 
> a lifecycle interface (Startable?) to avoid having to specify 
> preload="true" in the configuration. I'll check this and see the speed 
> difference.


Carsten Ziegeler - Open Source Group, S&N AG

View raw message