Replying to Andrea Aime,
···
Never heard of it… in my experience when it says it’s not there, it’s
actually not there.
Is the creation of the store returning a HTTP 200? What exact response do
you get on
creation, and when it claims the store not to be there?
Also, when that happens, do you see it on the UI? Does it eventually show
up in the UI or REST?
Finally, how are you managing the clustering, any plugin, is the data dir
shared or replicated,
what OS are you using, and if any, what shared filesystem?
The creation of the store is returning an HTTP status of 200.
We believe the problem is that we have data coming in too fast and 2 or more GeoServers are trying to create the same layer at the same time.
When it claims the store is not there it is returning “No such coverage store: <STORE_NAME>,<LAYER_NAME>” when I use Firefox to browse to the coverage store
http://:8080/geoserver/rest/workspaces/<WORKSPACE_NAME>/coveragestores/<COVERAGE_STORE_NAME>.
When I use wget http://:8080/geoserver/rest/workspaces/<WORKSPACE_NAME>/coveragestores/<COVERAGE_STORE_NAME> it returns
“HTTP request sent, awaiting response… 404 Not Found”.
In the GeoServer UI, if I search for the duplicate coverage store I get this response: “Oops, something went wrong…”.
If I search for the layer, one layer is retuned. If I then click on the coverage store name it returns a red error at the top of the page ‘Could not find data coverage store “<COVERAGE_STORE_NAME>” in workspace “<WORKSPACE_NAME>”’.
In the geoserver log I see:
org.apache.wicket.WicketRuntimeException: Error attaching this container for rendering: [MarkupContainer [Component id = 26]]
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1765)
at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
at org.apache.wicket.Component.beforeRender(Component.java:1105)
…
Caused by: java.lang.RuntimeException: Don’t know what to do with this store null
at org.geoserver.web.data.store.StorePanel.storeNameLink(StorePanel.java:114)
at org.geoserver.web.data.store.StorePanel.getComponentForProperty(StorePanel.java:80)
at org.geoserver.web.wicket.GeoServerTablePanel$2$1.populateItem(GeoServerTablePanel.java:162)
…
I have not seen the coverage store ever eventually show up.
We are not using any plugins to manage the clustering (we weren’t successful getting them to work).
The data directory is a shared nfs.
We are using Red Hat Enterprise Linux Server release 6.4.
Amanda Schabowsky
SW Engineer, WMSS II program
Critical Networks/HARRIS CORPORATION
Office: +1-321-309-7497
harris.com / mailto:amanda.schabowsky@anonymised.com
407 N John Rodes Blvd / Melbourne, FL 32934 / USA