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. > +1
Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
