I had the same problem. In my case I wasn't using the default data dir, and what happened was that the data directory was updated with incomplete data staying in an inconsistent state.
When tomcat starts, and geoserver starts, it (geoserver) looks at the gwc-layers directory and if it finds any layer file (xml) that is not mentioned elsewhere on other files, it removes it. This behavior can be seen in geoserver.log if you pay attention to it when tomcat restarts. I know this thread is kind of old, but hope this can help anyone in the future. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Layers-setting-do-not-survive-to-tomcat-restart-tp4554011p5094020.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users