Re: [Geoserver-users] Migration from 2.12 to 2.15 with JDBCConfig
Do you deploy Geoserver into a web container like Tomcat or is it running as a service? The set up I have is: Geoserver deployed into Tomcat GEOSERVER_DATA_DIR in /webapps/geoserver/WEB_INF/web.xml set to the path for geoserver data on the file system. This is outside of the gesoerver location. I have also created JNDI settings in the /conf/context.xml that I use as the data stores. This means I can configure geoserver in my test environment and copy this to production without changing anything. This makes upgrading the geoserver code pretty straightforward as I can deploy a new version of geoserver into Tomcat and check that it is running with the default settings. I can then stop geoserver, update the GEOSERVER_DATA_DIR value and restart geoserver and it has just worked (so far). Hope this helps. -Original Message- From: DemDem [mailto:ddemeyer@cirb.brussels] Sent: Wednesday, 10 July 2019 10:59 PM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Migration from 2.12 to 2.15 with JDBCConfig Hi, I am trying to migrate to the new version of geoserver. Unfortunately, it is not as simple as it seems. Could someone describe the process, please? The jdbcconfig plugin queries are very different of the ones of the 2.12 version then I got this: 2019-07-10 14:40:04,396 WARN [jdbcconfig.internal] - Found multiple services of type class org.geoserver.jdbcconfig.internal.ConfigDatabase$ServiceIdentity in null 2019-07-10 14:40:04,397 ERROR [config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo, local workspace is null I have been stuck with this for some days now and I am not experienced with geoserver. So if someone could give some clues, it would be great... Thanks in advance -- Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html ___ 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 CONFIDENTIALITY NOTICE AND DISCLAIMER The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission. ___ 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
Re: [Geoserver-users] Migration from 2.12 to 2.15 with JDBCConfig
Hey DemDem, We just did this not too long ago - from 2.11 to 2.15, but still. My feeling is that the error is saying there is a difference between the data directory and the JDBC database, specifically the Geoserver is coming up without the Workspace it had on the 2.12 GeoServer. The process we used was: 1) snapshot the gs_catalog database and data_directory. 2) Build new GeoServer 2.15 with the latest community release of JDBC 3) Restore the 2.11 GeoServer directory to the 2.15 server -- when restoring the data dir, you'll pickup the jdbcconfig.properties file and all of the styles\layers on disk. Our deployment is on AWS...so it was less of an upgrade and more of a migrate from old to new. In this, we never had to do anything with the queries...but it makes me wonder, are we missing out on something. Certainly GeoServer works and all that, but is there an updated JDBC schema or something from 2.11 to 2.15? Sorry if this isn't helpful, but i hope there is a shred of something for you to pull on. Later, Jason On Wed, Jul 10, 2019 at 8:13 AM DemDem wrote: > Hi, > > I am trying to migrate to the new version of geoserver. > Unfortunately, it is not as simple as it seems. > Could someone describe the process, please? > The jdbcconfig plugin queries are very different of the ones of the 2.12 > version then I got this: > 2019-07-10 14:40:04,396 WARN [jdbcconfig.internal] - Found multiple > services > of type class > org.geoserver.jdbcconfig.internal.ConfigDatabase$ServiceIdentity in null > 2019-07-10 14:40:04,397 ERROR [config.impl] - Could not locate service of > type interface org.geoserver.wms.WMSInfo, local workspace is null > > I have been stuck with this for some days now and I am not experienced with > geoserver. > So if someone could give some clues, it would be great... > > Thanks in advance > > > > > > -- > Sent from: > http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html > > > ___ > 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