[Geoserver-devel] [jira] Created: (GEOS-355) Web-admin can't save WFS datastore

Web-admin can't save WFS datastore
----------------------------------

         Key: GEOS-355
         URL: http://jira.codehaus.org/browse/GEOS-355
     Project: GeoServer
        Type: Bug
  Components: Configuration
    Versions: 1.3-rc1
Environment: Geoserver 1.3.RC1, Windows XP
    Reporter: Thijs Brentjens
Assigned to: dblasby

javax.servlet.ServletException: Path specified does not have a valid file.
C:\Software\Tomcat_5.5\webapps\geoserver\data\featureTypes\WFStest_scs:OMLEIDINGGEODATA

  org.vfny.geoserver.action.SaveXMLAction.saveGeoserver(SaveXMLAction.java:69)
  org.vfny.geoserver.action.SaveXMLAction.execute(SaveXMLAction.java:45)
  org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:98)
  org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
  org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
  org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
  org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
When adding a WFS as datastore with the webadmin tool, the datastore and featuretypes can be configured, but saving the configuration causes this error:

************
root cause

org.vfny.geoserver.global.ConfigurationException: Path specified does not have a valid file.
C:\Software\Tomcat_5.5\webapps\geoserver\data\featureTypes\WFStest_scs:OMLEIDINGGEODATA

  org.vfny.geoserver.global.xml.WriterUtils.initFile(XMLConfigWriter.java:961)
  org.vfny.geoserver.global.xml.WriterUtils.initWriteFile(XMLConfigWriter.java:1011)
  org.vfny.geoserver.global.xml.XMLConfigWriter.storeFeatures(XMLConfigWriter.java:619)
  org.vfny.geoserver.global.xml.XMLConfigWriter.store(XMLConfigWriter.java:89)
  org.vfny.geoserver.global.xml.XMLConfigWriter.store(XMLConfigWriter.java:119)
  org.vfny.geoserver.action.SaveXMLAction.saveGeoserver(SaveXMLAction.java:63)
  org.vfny.geoserver.action.SaveXMLAction.execute(SaveXMLAction.java:45)
  org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:98)
  org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
  org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
  org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
  org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

************

Probably the filename can't be made, because of the namespace of the featuretype that is added in the filepath (scs:).

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira