Re: [Geoserver-users] JDBCConfig and LayerGroups
Perhaps jdbcconfig import breaks on layergroups that contain other layergroups. It's quite plausible that has never been tested out. Kind Regards Niels On 18/05/2020 17:19, Stefan Overkamp wrote: Hi Niels, thanks for these hints. Up to now I have found problems with the default style of layers in the layergroups and layergroups that contain other layergroups. I will look into it next days. Stefan Am 17.05.2020 um 10:39 schrieb Niels Charlier: Stefan, If you can figure out the last imported layergroupinfo, you could check if it contains a broken reference to a layer or style. It's probably something like that. It might be necessary to use a debugger to find out what is going wrong, unfortunately. As I mentioned in previous email, it is a known issue that there should be better error reporting during import which could avoid this in many cases, and make it possible for a regular user to fix the problem. Kind Regards Niels On 14/05/2020 16:13, Stefan Overkamp wrote: Hi list, I'm currently testing jdbconfig (and jdbcstore) as part of having a multiple geoserver cluster. Importing the catalog runs fine for all object types except for org.geoserver.catalog.LayerGroupInfo. Only 3 to 4 from 27 LayerGroupInfo are imported. The last LayerGroupInfo logs "Storing properties of LayerGroupInfoImpl... with pk 832" but this pk can not found in the object table. Restarting Geoserver fails, when other configuration like gwc-layers references LayerGroups which have not been imported. Removing these references prior to import allows starting geoserver (with the missing layergroups). Adding layergroups afterwards is possible. Adding layergroups to layergroups is not possible. The selection list is empty. Has anyone successfully imported layergroups with jdbcConfig? Thanks Stefan ___ 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] JDBCConfig and LayerGroups
Hi list, I've installed eclipse and started geoserver development. If a layer in the layergroup has a default style, the xml gets an empty style-Element:StyleInfoImpl-6a9ac6ec:1712f6786c7:-2f49 jdbcconfig fails importing. Removing the default style check fixes that and jdbcconfig imports 8 more Layers. Now it fails only on layergroups that have other layergroups as children. Will look into it next days. Stefan Am 14.05.2020 um 16:13 schrieb Stefan Overkamp: > Hi list, > > I'm currently testing jdbconfig (and jdbcstore) as part of having a > multiple geoserver cluster. > > Importing the catalog runs fine for all object types except for > org.geoserver.catalog.LayerGroupInfo. > Only 3 to 4 from 27 LayerGroupInfo are imported. > > The last LayerGroupInfo logs "Storing properties of > LayerGroupInfoImpl... with pk 832" but this pk can not found in the > object table. > > Restarting Geoserver fails, when other configuration like gwc-layers > references LayerGroups which have not been imported. > Removing these references prior to import allows starting geoserver > (with the missing layergroups). > > Adding layergroups afterwards is possible. > Adding layergroups to layergroups is not possible. The selection list is > empty. > > Has anyone successfully imported layergroups with jdbcConfig? > > Thanks > > Stefan > -- Dipl. Ing. Stefan Overkamp Laakmannsbusch 44, 42555 Velbert tel.: 0177 / 79 76 159 overk...@posteo.de ___ 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] JDBCConfig and LayerGroups
Stefan, If you can figure out the last imported layergroupinfo, you could check if it contains a broken reference to a layer or style. It's probably something like that. It might be necessary to use a debugger to find out what is going wrong, unfortunately. As I mentioned in previous email, it is a known issue that there should be better error reporting during import which could avoid this in many cases, and make it possible for a regular user to fix the problem. Kind Regards Niels On 14/05/2020 16:13, Stefan Overkamp wrote: Hi list, I'm currently testing jdbconfig (and jdbcstore) as part of having a multiple geoserver cluster. Importing the catalog runs fine for all object types except for org.geoserver.catalog.LayerGroupInfo. Only 3 to 4 from 27 LayerGroupInfo are imported. The last LayerGroupInfo logs "Storing properties of LayerGroupInfoImpl... with pk 832" but this pk can not found in the object table. Restarting Geoserver fails, when other configuration like gwc-layers references LayerGroups which have not been imported. Removing these references prior to import allows starting geoserver (with the missing layergroups). Adding layergroups afterwards is possible. Adding layergroups to layergroups is not possible. The selection list is empty. Has anyone successfully imported layergroups with jdbcConfig? Thanks Stefan ___ 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] JDBCConfig and LayerGroups
Hi list, I'm currently testing jdbconfig (and jdbcstore) as part of having a multiple geoserver cluster. Importing the catalog runs fine for all object types except for org.geoserver.catalog.LayerGroupInfo. Only 3 to 4 from 27 LayerGroupInfo are imported. The last LayerGroupInfo logs "Storing properties of LayerGroupInfoImpl... with pk 832" but this pk can not found in the object table. Restarting Geoserver fails, when other configuration like gwc-layers references LayerGroups which have not been imported. Removing these references prior to import allows starting geoserver (with the missing layergroups). Adding layergroups afterwards is possible. Adding layergroups to layergroups is not possible. The selection list is empty. Has anyone successfully imported layergroups with jdbcConfig? Thanks Stefan -- Dipl. Ing. Stefan Overkamp Laakmannsbusch 44, 42555 Velbert tel.: 0177 / 79 76 159 overk...@posteo.de ___ 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