You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to convert a shape file to geopackage, we get the following error :
ERROR - 2022-01-31 09:44:22 - org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler - Exception occurred during processing request: Unable to obtain connection: batch entry 0: [SQLITE_BUSY] The database file is locked (database is locked)
java.lang.RuntimeException: Unable to obtain connection: batch entry 0: [SQLITE_BUSY] The database file is locked (database is locked)
at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:2147) ~[gt-jdbc-26.1.jar:?]
at org.geotools.jdbc.JDBCDataStore.createTypeNames(JDBCDataStore.java:934) ~[gt-jdbc-26.1.jar:?]
at org.geotools.data.store.ContentDataStore.entry(ContentDataStore.java:509) ~[gt-main-26.1.jar:?]
at org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:719) ~[gt-jdbc-26.1.jar:?]
at org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:144) ~[gt-jdbc-26.1.jar:?]
at eu.europa.ec.eurostat.jgiscotools.io.geo.GeoData$GPKGHandler.save(GeoData.java:205) ~[jgiscotools-geo-io-0.9.21.jar:?]
For information, we get no problem when converting into local server (on windows), but we can't generate the file on unix servers. Not sure it helps...
Hello!
When trying to convert a shape file to geopackage, we get the following error :
ERROR - 2022-01-31 09:44:22 - org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler - Exception occurred during processing request: Unable to obtain connection: batch entry 0: [SQLITE_BUSY] The database file is locked (database is locked)
java.lang.RuntimeException: Unable to obtain connection: batch entry 0: [SQLITE_BUSY] The database file is locked (database is locked)
at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:2147) ~[gt-jdbc-26.1.jar:?]
at org.geotools.jdbc.JDBCDataStore.createTypeNames(JDBCDataStore.java:934) ~[gt-jdbc-26.1.jar:?]
at org.geotools.data.store.ContentDataStore.entry(ContentDataStore.java:509) ~[gt-main-26.1.jar:?]
at org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:719) ~[gt-jdbc-26.1.jar:?]
at org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:144) ~[gt-jdbc-26.1.jar:?]
at eu.europa.ec.eurostat.jgiscotools.io.geo.GeoData$GPKGHandler.save(GeoData.java:205) ~[jgiscotools-geo-io-0.9.21.jar:?]
For information, we get no problem when converting into local server (on windows), but we can't generate the file on unix servers. Not sure it helps...
We've only launched :
....
CoordinateReferenceSystem crs = GeoData.getCRS(filePathIn);
Collection featuresSHP = GeoData.getFeatures(filePathIn);
GeoData.save(featuresSHP, filePathOut, crs);
Can you help?
Thanks
The text was updated successfully, but these errors were encountered: