Dear List,
I’m having difficulties with 1.7.2 getting a WFS shapefile. Windows 2003 Server, PostGIS.
The funny thing is that if I do the exact same WFS request without specifying outputFormat=“SHAPE-ZIP”, it works just fine.
Here is the output log at the error: (the full log is attached)
2009-03-11 14:30:30,480 ERROR [data.shapefile] - The following locker still has a lock? read on file:/C:/DOCUME~1/rbedell/LOCALS~1/Temp/1/wfsshptemp0.1673785030168745/rivers.shp by org.geotools.data.shapefile.shp.ShapefileReader
it was created with the following stack trace
org.geotools.data.shapefile.ShpFilesLocker$Trace: Locking file:/C:/DOCUME~1/rbedell/LOCALS~1/Temp/1/wfsshptemp0.1673785030168745/rivers.shp for read by org.geotools.data.shapefile.shp.ShapefileReader in thread btpool0-6
at org.geotools.data.shapefile.ShpFilesLocker.setTraceException(ShpFilesLocker.java:54)
at org.geotools.data.shapefile.ShpFilesLocker.(ShpFilesLocker.java:33)
at org.geotools.data.shapefile.ShpFiles.acquireRead(ShpFiles.java:365)
at org.geotools.data.shapefile.ShpFiles.getReadChannel
…
I’ve checked the permissions, and since this is running as a normal task under my login, it has Full Control over my Temp directory (C:/DOCUME~1/rbedell/LOCALS~1/Temp). There is a SHP file in the above temp directory, but is empty.
Thanks!
Roger
WFS-SHPerror.txt (120 KB)