app-schema catalog lookup failure in a path with spaces
-------------------------------------------------------

                 Key: GEOT-3115
                 URL: http://jira.codehaus.org/browse/GEOT-3115
             Project: GeoTools
          Issue Type: Bug
          Components: data app-schema
    Affects Versions: 2.7-M0, 2.6.5, 2.7-M1
            Reporter: Ben Caradoc-Davies


Confirmed under Linux in Eclipse. Don't know why unit tests do not catch it in 
a path with spaces. Possibly because the testing environment has hygienically 
encoded all spaces in the catalog file URL.

-------- Original Message --------
Subject: Re: [Geoserver-users] App-schema plugin tutorial files error
Date: Thu, 27 May 2010 02:18:52 +0800
From: babsip 
To: geoserver-us...@lists.sourceforge.net       


Hi Marco!

I don't know if you are still interested in this, but in case you are, I
think I found a solution. I had exactly the same problem (identical response
to a GetFeature-Request). Additionally, I found this error in the logfile:

2010-05-26 16:53:36,726 WARN [complex.config] - Exception resolving null
java.net.URISyntaxException: Illegal character in path at index 31:
file:/C:/ProgrammeBab/GeoServer
2.0.1/data_dir/schemas/geosciml/2.0/xsd/geosciml.xsd

These 2 links helped me find the solution:

http://blog.gmane.org/gmane.comp.gis.geoserver.user/month=20090801
http://blog.gmane.org/gmane.comp.gis.geoserver.user/month=20090801 
 http://jira.codehaus.org/browse/GEOT-2644 
http://jira.codehaus.org/browse/GEOT-2644 

The bottom line is: the path where the XSD files are located must not
contain blanks! Unfortunately, when you install GeoServer 2.0.1, it
automatically creates an installation folder with a blank ("GeoServer
2.0.1"). So I re-installed GeoServer in a path without a blank, and it
worked! Hooray! (Took me nearly a day to figure this out...)

Kind Regards
Barbara

-- 
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

        

------------------------------------------------------------------------------

_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to