aodn / geoserver-config

Additional configuration used for production Geoserver instances
GNU General Public License v3.0
2 stars 2 forks source link

AUV wfs layer issue #104

Closed julian1 closed 10 years ago

julian1 commented 10 years ago

@lbesnard

I couldn't resolve this yesterday so I'm recording it as an issue. The requested view auv_trajectory_data_st exists in the db but the error message is about a schema.

To reproduce,

In geoserver do a getCapabilities() for wms 1.1.1

23 Jan 11:20:49 WARN [geotools.jdbc] - No primary key or unique index found for auv_trajectory_map. 23 Jan 11:20:50 ERROR [wms.capabilities] - An error occurred trying to determine if the layer is geometryless java.io.IOException: Schema 'imos.mod:auv_trajectory_data_st' does not exist. at org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:596) at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:385) at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:352) at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:336) at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:678) at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:104) at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:858) at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:814) at org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:87) at sun.reflect.GeneratedMethodAccessor496.invoke(Unknown Source)

lbesnard commented 10 years ago

there is no auv_trajectory_data_st in dbprod , only .auv_trajectory_st_data.

Anyway, I'm just going to re create a new branch with the layer and that will solve the issue

julian1 commented 10 years ago

Fixed by Loz new layer.