I have been working on trying to reproduce this problem and will be
added better logging so the logs should indicate which readers have
been opened and not closed. I have an important estimate to do today
but will finish this as soon as I get the estimate done.
Jesse
On 11-Mar-06, at 10:08 PM, Martin Desruisseaux wrote:
[EMAIL PROTECTED] a écrit :
I'm just writing up documentation getting people to switch to 2.2,
but I
cannot get it building:
testConcurrentReadWrite
(org.geotools.data.shapefile.ShapefileReadWriteTest): Caused an ERROR
The requested operation cannot be performed on a file with a user-
mapped section open
I noticed similar issues when I setup the Maven 2 build back in
January, and I have sent an email about that. Not sure if we got
any volunter for looking at it. The problem is that a lot of tests
open a file but never close it; they just rely on the garbage
collector for that, which lead to unpredictable behavior (sometime
the tests pass, sometime they fail).
I added some calls to "close()" in the most trivial places last
January, but not everywhere. The remaining place requires more
knowldege about the shapefile working.
I'm not completly sure that the problem you are facing is related
to the "open files never closed" bug, but the symptoms are the same
than the ones I had. It is a blocker issue at least for Maven 2,
since for now I have disabled completly JUnit tests for the
shapefile modules in the Maven 2 build.
Martin.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the
live webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel