← Back to team overview

dhis2-devs team mailing list archive

Re: startup issues

 

On Mon, Sep 20, 2010 at 7:26 AM, Jo Størset <storset@xxxxxxxxx> wrote:

>
>
> 2010/9/18 Lars Helge Øverland <larshelge@xxxxxxxxx>
>
>
>> Can't really believe it but it seems Spring auto-wiring was the problem.
>> Disabled it and went back to normal XML based wiring and Live now starts in
>> 26 seconds at my Ubuntu laptop.
>>
>
> It seems the bean factory doesn't cache anything by type [1], so I guess by
> type-autowiring might be expensive on our (apparently) large context. It's
> been a long time since I looked at the details of spring contexts, but I
> suspect there are no easy solutions to this.
>
> I guess xml is fine (and name-based auto wiring should also be quick?).
>

Yes we can live very well with plain XML wiring.

>
>
>> Have committed the change to 2.0.5 branch, will merge into trunk when I
>> have time.
>>
>
> I think India testing is done in trunk, so please merge it in there :)
>
> Will do.


> Jo
>
> [1] https://jira.springframework.org/browse/SPR-6870
>

References