Hi Luc,
It is not clear where/when you see the error, I will assume it is when you
try to add a layer.
I think problem can be because of several reasons:
Is table placed in correct schema (default is public)? Is the schema name
spelled correctly?
Does the user geoserver use in datastore definition has privileges to read
the table?
Regards,
Leo
On Mon, Feb 10, 2014 at 2:42 AM, lucvanlinden <[email protected]>wrote:
> Hi
>
> We are testing an External (cascading) WFS datasource in geoserver 2.4.2.
> We just use some of the bathing waters WFS available from EA.
>
> The datastore setup is working, it is only when trying to add a layer from
> the datastore that we get a failure, the layer can not be found.
>
> Caused by: org.geotools.data.SchemaNotFoundException: Feature type could
> not
> be found for wfs:ea-wfs-bathing_waters_inspire at
>
> org.geotools.data.wfs.v1_1_0.WFS_1_1_0_DataStore.getSchema(WFS_1_1_0_DataStore.java:257)
> at
>
> org.geotools.data.wfs.v1_1_0.WFSFeatureSource.<init>(WFSFeatureSource.java:69)
> at
>
> org.geotools.data.wfs.v1_1_0.WFS_1_1_0_DataStore.getFeatureSource(WFS_1_1_0_DataStore.java:590)
> at
>
> org.geotools.data.wfs.v1_1_0.WFS_1_1_0_DataStore.getFeatureSource(WFS_1_1_0_DataStore.java:108)
> at
>
> org.geoserver.feature.retype.RetypingDataStore.getFeatureSource(RetypingDataStore.java:158)
> at
>
> org.geoserver.feature.retype.RetypingDataStore.getFeatureSource(RetypingDataStore.java:293)
> at
>
> org.geoserver.feature.retype.RetypingDataStore.getFeatureSource(RetypingDataStore.java:46)
> at
>
> org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:329)
> at
>
> org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:300)
> ... 95 more
>
> To our opinon, not sure about this, it seems that Geoserver addedd the wfs:
> namespace to th eeffective layer name ea-wfs-bathing_waters_inspire.
>
> Could it be that this is not found on the host as unknown (name with
> namesapce wfs)?
>
> Is it possible to set geoserver not use tha wfs namespace in this case?
>
> tx
>
> Luc
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/external-wfs-get-schema-geoserver-adds-a-wfs-namespace-to-the-layername-tp5102864.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users