[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] GeoServer create layer / GeoServer does not support schema creation at the moment

Title: Default Disclaimer Daimler AG

By the way, we tried to update GeoServer to the most recent version (2.15.1) but realized, that GeoMesa 2.3.0 (and earlier) is not compatible with it (although stated otherwise in the docs: “GeoMesa 2.2.0 and later require GeoServer 2.14.0 or later”, see https://www.geomesa.org/documentation/user/geoserver.html). GeoServer 2.15.1 comes with GeoTools 21.x, but GeoMesa 2.3.0 requires GeoTools 20.x and there were some breaking changes between GeoTools 20 and 21.

 

So we reverted back to GeoServer 2.14.3.

 

Von: geomesa-users-bounces@xxxxxxxxxxxxxxxx <geomesa-users-bounces@xxxxxxxxxxxxxxxx> Im Auftrag von christian.sickert@xxxxxxxxxxx
Gesendet: Mittwoch, 22. Mai 2019 14:26
An: geomesa-users@xxxxxxxxxxxxxxxx
Betreff: Re: [geomesa-users] GeoServer create layer / GeoServer does not support schema creation at the moment

 

Hi Emilio!

 

We didn’t update GeoServer. Just re-tested GeoServer 2.14.3 with GeoMesa 2.2.0 (using File System data store) and layer creation using REST API works.

 

Actually we didn’t change anything but the GeoMesa version (at least I am not aware of anything else). What could that “something in our layer / store configuration” be?


Thanks for your support!

 

Best,

Christian

 

Von: geomesa-users-bounces@xxxxxxxxxxxxxxxx <geomesa-users-bounces@xxxxxxxxxxxxxxxx> Im Auftrag von Emilio Lahr-Vivaz
Gesendet: Mittwoch, 22. Mai 2019 14:11
An: geomesa-users@xxxxxxxxxxxxxxxx
Betreff: Re: [geomesa-users] GeoServer create layer / GeoServer does not support schema creation at the moment

 

Ah, a quick grep through the code turned up this line in the RetypingDataStore:

https://github.com/geoserver/geoserver/blob/445625cdad44e79c48682b0c9852e1e2586c018e/src/main/src/main/java/org/geoserver/feature/retype/RetypingDataStore.java#L69

Is there something in your layer/store configuration that is causing the file system data store to be wrapped in that retyping one? The javadocs say it is used to rename a layer from the original feature type name. Generally, we have seen various issues if you rename a layer from the default, due to geoserver wrapping everything.

Thanks,

Emilio

On 5/22/19 8:07 AM, Emilio Lahr-Vivaz wrote:

Hello,

Did you upgrade geoserver at the same time as you upgraded GeoMesa? If so, I'd try the older geoserver that you were using with 2.2.0, which should also work with 2.3.0. If the problem occurs there as well, then it must be something we changed, although I can't think of anything that would cause that off the top of my head.

Thanks,

Emilio

On 5/22/19 5:08 AM, christian.sickert@xxxxxxxxxxx wrote:

Hi Geomesa Users!

 

We've upgraded from GeoMesa 2.2.0 to 2.3.0 and are experiencing an issue with GeoServer (2.14.3) and the GeoMesa-Filesystem data store plugin now.

 

We're creating new layers using GeoServer’s REST API as follows:

curl -X POST -d @<content-file> -H "Content-Type: application/json" <geoserver-base-url>/workspaces/<our-workspace>/datastores/<our-datastore>/featuretypes

 

This was working until GeoMesa 2.2.0 but results in an HTTP 500 with GeoMesa 2.3.0 giving the message "GeoServer does not support schema creation at the moment".

Is that an issue with GeoMesa? Or should that be fixed within GeoServer?

 

Do you know an alternative way of automating layer creation in GeoServer? By the way, creating layers manually in the Web UI works. Will ask the same question in the GeoServer Users mailing list.

 

Thanks and regards

Christian

 

 

Mit freundlichen Grüßen / Kind regards

Christian Sickert

Crowd Data & Analytics for Automated Driving
Daimler AG - Mercedes-Benz Cars Development - RD/AFC

+49 176 309 71612
christian.sickert@xxxxxxxxxxx

 


If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.

 

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users



_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users

 


If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.

 

Default Disclaimer Daimler AG
If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.