Dear Geoserver Community,

In my application from UI side user can publish same shapfile again and
again to geoserver with different Store names, i observed after 9 attempts
it is giving the below error.

*java.lang.IllegalArgumentException: Resource named '*/Demo_Shapfile9/*'
already exists in namespace: 'Example'*

I m using Geoserver 2.9.0 REST Api. Name of shapefile is *Demo_Shapfile* so
for every successive republish of shapfile creating new layer with name
*Example:Demo_Shapfile+"republish attempt"* 

So after 9 attempts with name *Demo_Shapfile9* geoserver cant able to create
new name of layer within same workspace.

Please suggest something to handle this issue, since i can't control it from
user side and not permitted to use new workspace.
Thanks,
Sawan



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to