I have used GeoServer Rest API to create and delete layers using gsconfig, a
GeoServer configuration client library in Python. The delete functionality
works pefectly in my localhost and the same code deployed in the Ubuntu
Server throws FailedRequestError exception as follows.
FailedRequestError at /admin/map_layers/layer/Tried to make a DELETE request
to http://localhost:7080/geoserver/rest/layers/sample_geowebmap.xml but got
a 500 status code: Ambiguous handler methods mapped for HTTP path
'http://localhost:7080/geoserver/rest/layers/sample_geowebmap.xml': {public
void  
org.geoserver.rest.catalog.LayerController.layerDelete(java.lang.String,boolean)
throws java.io.IOException, public org.springframework.http.ResponseEntity
org.geowebcache.rest.controller.TileLayerController.doDelete(javax.servlet.http.HttpServletRequest,java.lang.String)
throws
org.geowebcache.GeoWebCacheException,org.geowebcache.rest.exception.RestException,java.io.IOException}
_
*Server Configuration*
_1. Ubuntu 14.04
2. Tomcat 8
3. GeoServer 2.12.1
Please help in resolve this issue. Thanks.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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