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
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)