Hi, What revision of the patch did you apply (the first one, or revised)? And what OS are you using?
There are a couple of possibilities - something may be locked, or you simply may not be able to rename the 'search.dir.create' to 'search.dir' (for example, going across drives). I did include quite a few log messages - errors and warnings - are you logging those levels? That said, I'm just testing a further revision of the patch, that combines some of Mark's code from #1613251. Specifically, it can create a temporary directory in ${java.io.tmpdir} for test purposes or when 'search.dir.create'. Also, it makes use of the 'copy' code for when simple renaming doesn't work. Finally, I've also taken note of Mark's reason for using a temporary directory - to ensure that the existing index isn't disabled until the new index has finished generating - and ensured that the web application can't attempt to swap in an 'offline' index before it is fully generated (the current patch can attempt to do this too early). I should have this tested very soon, and hopefully that will resolve the situation you are finding. G On Mon, 2007-02-12 at 17:06 -0500, Jose Blanco wrote: > Graham: > > I installed you patch in my dev area, and I see that search.dir.create has > the new indexes but it did not seem to copy it over to the search.dir area. > I don't see anything in the log file about failing to copy it over. I'm > assuming that I have something open as you indicate in the "caveats" section > of your patch, but would I get some sort of message on the log file? > > Thanks! > > Jose > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Thursday, February 08, 2007 5:29 PM > To: dspace-tech@lists.sourceforge.net > Subject: Re: [Dspace-tech] Reindexing vs Tomcat running > > Stephane, > > I've now submitted a patch for this reindexing issue: #1655583 > > You can read my notes and download the patch file here: > > https://sourceforge.net/tracker/?func=detail&atid=319984&aid=1655583&group_i > d=19984 > > With the patch applied, you will also need to add a 'search.dir.create' > entry to your dspace.cfg as per the comments. > > Let me know if you have any questions. > > G > > ------ > Graham Triggs > Technical Architect > Open Repository > +44 (0)20 7631 9942 > This email has been scanned by Postini. > For more information please visit http://www.postini.com > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech