On Thu, Oct 24, 2013 at 10:57 AM, Richard Duivenvoorde
<[email protected]>wrote:
> Hi,
>
> running geoserver 2.4.0 here with a set of different stores and layers.
>
> We accidently removed a shp-file (belonging to one of the geoserver
> stores).
> After a restart of Tomcat/Geoserver (windows) WFS request answer with an
> exception:
>
> <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0"
> xsi:schemaLocation="http://www.opengis.net/ows
> http://example:80/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
> <ows:Exception exceptionCode="NoApplicableCode">
> <ows:ExceptionText>java.lang.RuntimeException:
> java.io.FileNotFoundException:
> d:\data\geoserver2.4.x\data_dir\data\shapefiles\example.shp (The system
> cannot find the file specified)
> java.io.FileNotFoundException:
> d:\data\geoserver2.4.x\data_dir\data\shapefiles\example.shp (The system
> cannot find the file specified)
> d:\data\geoserver2.4.x\data_dir\data\shapefiles\example.shp (The system
> cannot find the file specified)</ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
>
> The strange thing is that in de admin pages the store just shows 'enabled'?
>
> Does anybody have a explanation for this, or a workaround?
>
> I think the missing/removal of one store-data file should not bork all
> WFS services?
>
It should not if you set "Resource error handling" in the "global"
panel to "skip misconfigured layers".
For backwards compatibility reasons, that's not the default, you have
to set it manually
If, despite setting that, you're still getting errors while generating the
capabilities documents, and it can be reproduced on the current stable
series (2.4.x right now) then it's a bug
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users