http://jira.codehaus.org/browse/GEOS-5092 to the rescue
On Fri, May 4, 2012 at 3:41 PM, Andrea Aime <andrea.a...@geo-solutions.it> wrote: > On Fri, May 4, 2012 at 8:11 PM, Gabriel Roldan <grol...@opengeo.org> wrote: >> >> In any case, as a first step, I'll make sure that such a thing doesn't >> prevent start up. Though not sure that's what should really happen. >> What happens if there is an error loading a normal layer or datastore >> right now? Does it get ignored or breaks the startup process? > > > The validators we were talking about disable it, and you get a high > level log message stating it was disabled. > >> >> >> And, do you have an idea of how you got into this situation? may it be >> that you had some cached layers, then removed gwc from the classpath, >> the layers changed (removed some), then gwc got into the classpath >> again, and hence can't find the original layer? > > > I haven't removed it in a while on the dev environment, but that data > directory jumps between the stable and trunk series quite often > (one just has to wipe out global.xml, everything else seems to be > compatible). > I also haven't removed by hand layers from disk since last time I got it > working (which was no more than a few days ago). > >> >> If so, removing the offending file(s) from /gwc-layers should fix the >> issue. >> My concern is then what a sensible "expected behavior" would be? (I >> think you might want nothing in gwc could possibly break, but being >> more realistic, we have to keep gwc layers and geoserver layers in >> sync, if something happens out of the normal flow of events, I agree >> should be taken care of carefuly, just wonder at which point). > > > Imho disable some functionality (caching for those layers) and eventually > remove the tile cache and make it very visible something went pear shaped. > Maybe also something in the GUI? Don't know, whatever warns the > user, does not kill startup, and does not require bending over backwards > implementation wise would be fine to me. > > Cheers > Andrea > > -- > Ing. Andrea Aime > GeoSolutions S.A.S. > Tech lead > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel