David Winslow created GEOS-5313 |
Issue Type: |
Bug |
Assignee: |
|
Created: |
17/Sep/12 4:53 PM |
Description: |
In the OpenGeo Suite we were bitten by a bug caused by CRS lookups in static initializers - doing this makes it easy to accidentally force the referencing system to initialize before the GeoserverInitStartupListener can run (and GeoServer relies on the configuration changes that it makes. There are a couple of places in GeoServer where we fall into this trap as well - one Wicket component and the regionating code. I think it’s difficult to get either of these to load before the init-listener runs, but it’s probably a good idea to avoid this pattern anyway to avoid copy/pasting problems down the line. I put a branch on github at https://github.com/dwins/geoserver/tree/no-crs-lookups-in-static-initializers that makes the relevant changes. |
Project: |
|
Priority: |
Major |
Reporter: |