hi tomas, it should be possible to delete the home directory. can you point out which file is still locked? can you do a thread-dump after shutdown to see what threads are still running?
regards, toby On 3/30/06, thomasg <[EMAIL PROTECTED]> wrote: > > Thanks, I've just hacked it in for now but will need to fix it properly soon. > Another thing I was wondering about... > I'm running a Junit class to test various searches in different document > structures. I create a new repository in setUp() and try to delete the whole > repository and start again after each test. I call session.logout() > and repositoryImpl.shutdown() in my tearDown() method but I still can't > delete the repository home directory. (The delete fails for one or more of > the data files in the workspace directory.) I guess some thread still has a > data file open somewhere. Should it be possible to delete the repository > home dir after shutdown? > > Cheers, Thomas > -- > View this message in context: > http://www.nabble.com/maxFieldLength-value-used-for-lucene-indexing-t1362733.html#a3673052 > Sent from the Jackrabbit - Dev forum at Nabble.com. > > -- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
