An update on this issue:

I have tested the migration jar file and it did a succesfull, automatic upgrade for disk quota, jdbcconfig, jdbcstore, geofence-server and monitoring. It failed for a netcdf datastore (the upgrade stopped with an exception), however the good thing about netcdf is that you can simply delete it and it rebuilds automatically so it is less crucial (and could be perhaps automated in this way). I did however not test KML superoverlays (not particularly familiar with it). As a side note, monitoring is not compatible with geofence-server because of a different hibernate version, something that should ideally be resolved.

I think this is a rather positive result. On the downside, there are a lot of test failures. But they all seem to be related to the same thing, databases not being closed properly before they are opened again. That should be resolvable.

Also, who maintains jdbc-spatialite or knows something about it? I am not clear on whether this one is compatible with JDBC4.X. I don't know anything about it and google can't give me an answer. All the rest should be fine.

Kind Regards
Niels

On 25-07-17 10:12, Andrea Aime wrote:
On Tue, Jul 25, 2017 at 10:05 AM, Niels Charlier <ni...@scitus.be <mailto:ni...@scitus.be>> wrote:

    And I can't find any documentation or explanation about the
    migration file, it is just a jar library.


Yeah, that's what had me stumped as well!
On some forums, I read that as long as you have the jars in the classpath, the migration happens on open... that would be ideal, but needs trying. See also this, the first answer is by the H2 main developer:
https://stackoverflow.com/questions/15094815/how-to-check-if-a-h2-database-needs-to-be-upgraded

At the same time, I've found this... and wondering why anyone wrote it, if the migration is transparent (maybe it does not work transparently, or maybe they were as confused as us):

https://github.com/gitbucket/h2-migration

Regards,

Andrea Aime

==GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.==Ing. Andrea Aime @geowolfTechnical LeadGeoSolutions S.A.S.Via di Montramito 3/A55054 Massarosa (LU)phone: +39 0584 962313fax: +39 0584 1660272mob: +39 339 8844549http://www.geo-solutions.ithttp://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to