dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #07580
Re: startup issues
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?).
> 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 :)
Jo
[1] https://jira.springframework.org/browse/SPR-6870
Follow ups
References
-
startup issues
From: Bob Jolliffe, 2010-09-16
-
Re: startup issues
From: Knut Staring, 2010-09-16
-
Re: startup issues
From: Lars Helge Øverland, 2010-09-16
-
Re: startup issues
From: Bob Jolliffe, 2010-09-16
-
Re: startup issues
From: Lars Helge Øverland, 2010-09-16
-
Re: startup issues
From: Lars Helge Øverland, 2010-09-16
-
Re: startup issues
From: Bob Jolliffe, 2010-09-16
-
Re: startup issues
From: Lars Helge Øverland, 2010-09-16
-
Re: startup issues
From: Lars Helge Øverland, 2010-09-16
-
Re: startup issues
From: Bob Jolliffe, 2010-09-16
-
Re: startup issues
From: Lars Helge Øverland, 2010-09-17
-
Re: startup issues
From: Lars Helge Øverland, 2010-09-17
-
Re: startup issues
From: Saptarshi Purkayastha, 2010-09-17
-
Re: startup issues
From: Lars Helge Øverland, 2010-09-17
-
Re: startup issues
From: Lars Helge Øverland, 2010-09-18