Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.1-RC2
-
Fix Version/s: 2.1-RC5
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The GeoServerLoader reload method actually reloads only the catalog and geoserver metadata
loadCatalog( catalog, xp );
loadGeoServer( geoserver, xp);
It's should also invoke the
loadInitializers(geoserver);
method in order to reload the JAI tilecache and other initializers also.
Issue Links
Activity
Andrea Aime
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 2.1.0 [ 17175 ] | |
| Affects Version/s | 2.1-RC2 [ 17077 ] | |
| Priority | Major [ 3 ] | Critical [ 2 ] |
Andrea Aime
made changes -
| Attachment | GEOS-4425.patch [ 54326 ] |
Andrea Aime
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Justin Deoliveira
made changes -
| Fix Version/s | 2.1-RC3 [ 17257 ] | |
| Fix Version/s | 2.1.0 [ 17175 ] |
Andrea Aime
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
Andrea Aime
made changes -
Andrea Aime
made changes -
Andrea Aime
made changes -
| Fix Version/s | 2.1.0 [ 17175 ] | |
| Fix Version/s | 2.1-RC3 [ 17257 ] |
Andrea Aime
made changes -
| Attachment | GEOS-4425-2.patch [ 54695 ] |
Andrea Aime
made changes -
| Attachment | GEOS-4425-2.patch [ 54696 ] |
Andrea Aime
made changes -
| Attachment |
|
Andrea Aime
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Andrea Aime
made changes -
| Fix Version/s | 2.1-RC5 [ 17324 ] | |
| Fix Version/s | 2.1.0 [ 17175 ] |
Andrea Aime
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Hmmm... I agree we should also call back initializers... on the other side all the initializers we have around are coded to be called just once, and add listeners to be informed of further changes (so calling them every time we reload would actually introduce a small memory leak).
I'm under the impression the problem is not exactly that the initializers are not called, but the initializer listeners are not reacting to the change.
I did look and the event triggered past the reload is a ConfigurationListener.handlePostGlobalChange, whilst the listeners in ResourcePool and JAIInitializer are listening for handleGlobalChange instead and thus do not reload their stuff.
Solutions I have in mind:
I think I'd go for the second. Justin, what do you think?
This is something that should go in RC3...