I've just started using GeoServer (2.0.2) and couldn't find relevant
information about releasing locks.

While bringing up the Layers page, I got an PermGen memory exception that 
forced me to bring down Tomcat hard (kill -9).  Since then, I haven't been able
to access the Layers page and the reason appears to be locks on a few of the
files.  This message occurs for three different files after about 200 seconds 
of delay:

29 Jan 22:44:39 ERROR [data.shapefile] - The following locker still has a lock?
 write on file:/opt/bikeSuit/shapeFiles/wilburSmith/suitability_Clip.shp by
 StorageFile: suitability_Clip35555.fix
 it was created with the following stack trace
org.geotools.data.shapefile.ShpFilesLocker$Trace: Locking
file:/opt/bikeSuit/shapeFiles/wilburSmith/suitability_Clip.shp for write 
by StorageFile: suitability_Clip35555.fix in thread main at
org.geotools.data.shapefile.ShpFilesLocker
  .setTraceException(ShpFilesLocker.java:72)
at org.geotools.data.shapefile.ShpFilesLocker.
  <init>(ShpFilesLocker.java:56)
at org.geotools.data.shapefile.ShpFiles
 .acquireWrite(ShpFiles.java:509)
at org.geotools.data.shapefile.StorageFile
 .replaceOriginals(StorageFile.java:97)
at org.geotools.data.shapefile.StorageFile
.replaceOriginal(StorageFile.java:73)
at org.geotools.data.shapefile.indexed.FidIndexer
 .generate(FidIndexer.java:74) 
at org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.
 generateFidIndex(IndexedShapefileDataStore.java:385)
at org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.
 <init>(IndexedShapefileDataStore.java:204)



I'm not sure how to release those locks.  On the Server Status page, "Locks" is
reported as zero and clicking the "Free locks" button doesn't seem to help.

Any help would be appreciated.



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to