Hello, Forum,
Encountered the following issue with GS 1.6.4 and 1.6.5 running on Linux
FC6.
I have a layer stored in a PostGIS table and configured in GS. I routinely
use describeFeature function to
get the layer attributes, like so
then I had to drop the layer table, and reload it with new data with
additonal attributes.
So I go into Geoserver and reconfigure the featureType using the same name
(because the postgis
table name is still the same), hit apply and save. Now if I use the Map
Prview, I can verify that the
layer has been refreshed. But the describeFeature call as above still
returns the old attributes list,
rather than the new attributes.
I thought this may have to do with internal caching in Geoserver, so I
removed the layer, and then
recreated in geoserver. But Geoserver still remembers the old attributes
when using the WFS describeFeature call. The one route I didn't take is
to restart Tomcat, because this is a production
system. I ended up fixing the problem by deleting the layer in
Geoserver, change the table name
and created the layer in its new name. But it's really an awkward way.
Anybody can shed light on how to clean cache for Geoserver WFS ?
Dukie
Raleigh, NC
--
View this message in context: http://www.nabble.com/DescribeFeature-cache-Issue-tp20471675p20471675.html
Sent from the GeoServer - User mailing list archive at Nabble.com.