[Geoserver-devel] [jira] (GEOS-5614) issues with OGC services config .xml files and REST

Benjamin Trigona-Harany created BugGEOS-5614
issues with OGC services config .xml files and REST

Issue Type:

BugBug

Affects Versions:

2.3-beta1

Assignee:

Andrea Aime

Components:

REST

Created:

28/Jan/13 2:20 PM

Description:

The WFS/WMS/WCS XML config are in the data_dir and edits using the web interface are written to these files. However, REST considers their location to be the root GeoServer servlet directory. REST GET calls will return incorrect information since it can’t find the ‘real’ XML files, and PUTs will create a new XML file in the wrong location.

Some less obvious issues:

  1. tomcat must have permission to write to this directory (rather than just the data_dir) otherwise the PUT fails
  2. you have to explicitly reload or restart GeoServer for the settings to take effect
  3. subsequent edits using the GUI write to the new XML file rather than the one in the data_dir

Environment:

Tomcat container on Linux

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Benjamin Trigona-Harany

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)