I am curious if the issue I am seeing is part of this explanation.

There are times that GeoServer successfully completes the upload
and processing of a shapefile but then does not enable the layer
with it is finished.  I am using your REST API and both the layer
and datastore are successfully created but the layer itself is disabled.
And all subsequent requests for that layer will fail because 
GeoServer does not see it.  As soon as I enable it via your UI, all
requests for that layer are then successful.

While this happens rarely, it does happen enough to be a problem.

Is it possible that there is a race condition on GeoServer where if it
has not completed the shapefile processing of a given layer but
receives a request for that layer, that GeoServer will continue the
processing but not enable the layer when finished?

Is there a REST API call to enable a layer?  I have not found one
in my googling of this problem.

Thank you

Phil Russo



------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to