I have had a similar issue migrating from a much older GeoServer version to a new one and my solution was to NOT migrate the data folder in it's entirety but instead to migrate only some components. I won't pretend to understand the underlying issue but it fixed it for me. The components I migrated resulted in me having all of the important stuff in the new GeoServer version and a running GeoServer. I migrated the following in the order specified:
- workspaces - security - styles If you want to try this here are the steps: 1. shut down tomcat 2. go to your freshly installed data folder (....your_tomcat/webapps/geoserver/data) 3. mv -rf fullpath_to_your_backup/workspaces/* workspaces/. 4. mv -rf fullpath_to_your_backup/security/* security/. 5. mv -rf fullpath_to_your_backup/styles/* styles/. 6. cd .. 7. chown -R tomcat:tomcat data 8. restart tomcat Hope this helps, Vera On Wed, Jun 5, 2019 at 9:03 AM Uwe Seher <uwe.se...@gmail.com> wrote: > Hello group! > At the moment i have a hard problem. After a restart of my running tomcat8 > the geoserver-application (2.11) did not start up. some other applications > (geonetwork, jasper) run as good as before. After that i did an update to > 2.15.1, whicht starts up with a clean data-directory. When i copy my old > data-dir in the new installation, it does not start up again. > > in the catalina-log are the following lines, which i think descripbe the > error, but i am not able to understand what they want to tell me. Somewhere > else i found a reference to the encrytion used ( > http://osgeo-org.1560.x6.nabble.com/GeoServer-doesn-t-Start-up-td5268309.html), > but i wanted to ask someone before i do something weird. The whole logfile > can be delievered also. > > So please, can someone tell me, what happened here? > > Thanks in advance > > Uwe Seher > > 05-Jun-2019 16:21:35.844 SEVERE [localhost-startStop-1] > org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks > The web application [geoserver] created a ThreadLocal with key of type > [java.lang.ThreadLocal] (value [j > ava.lang.ThreadLocal@437d4b79]) and a value of type > [org.springframework.security.core.context.SecurityContextImpl] (value > [org.springframework.security.core.context.SecurityContextImpl@ffffffff: > Null authentication]) but failed to remov > e it when the web application was stopped. Threads are going to be renewed > over time to try and avoid a probable memory leak. > > 05-Jun-2019 16:21:35.858 WARNING [localhost-startStop-1] > java.util.prefs.FileSystemPreferences$1.run Couldn't create user > preferences directory. User preferences are unusable. > > 05-Jun-2019 16:21:35.859 WARNING [localhost-startStop-1] > java.util.prefs.FileSystemPreferences$1.run java.io.IOException: No such > file or directory > > 05-Jun-2019 16:21:35.875 SEVERE [localhost-startStop-1] > org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks > The web application [geoserver] created a ThreadLocal with key of type > [java.lang.ThreadLocal] (value [j > ava.lang.ThreadLocal@286a76ba]) and a value of type > [org.geotools.referencing.operation.projection.TransverseMercator.Provider] > (value [PROJECTION["Transverse_Mercator"]]) but failed to remove it when > the web application was stopped. Thr > eads are going to be renewed over time to try and avoid a probable memory > leak. > > 05-Jun-2019 16:21:35.916 INFO [Finalizer] > org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading > Illegal access: this web application instance has been stopped already. > Could not load [org.geotools.metadata.i18n.Lo > ggings]. The following stack trace is thrown for debugging purposes as > well as to attempt to terminate the thread which caused the illegal access. > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users