write.lock is part of lucene, not tomcat. If you are sure that nothing is
using the index when when tomcat is shut down, you can delete this file and
that should resolve your problem. 

Charlie

> -----Original Message-----
> From: jeepee3 [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 1:45 PM
> To: Tomcat Users List
> Subject: Re: resolving version of Tomcat
> 
> 
> Hi,
> 
> I have this file "write.lock" in my "Lutece Web application" 
> that's running by
> Tomcat and this cause me a problem when I startup.bat my 
> Tomcat. Here is the
> part of the DOS screen that imform me about this problem. 
> (Sorry for my english
> I need more practice, but this is an other problem :) :
> ...
> [INFO] JkMain - -Jk running ID=0 time=0/110
> config=C:\Program Files\Apache 
> Group\Tomcat41\bin\..\conf\jk2.properties
> java.io.IOException: Index locked for write : Lock@
> C :\Program Files\Apache 
> Group\Tomcat41\webapps\lutece\WEB-INF\index\write.lock
>         at org.apache.lucene.index.IndexWriter.<init>(Unknown Source)
>         at org.apache.lucene.index.IndexWriter.<init>(Unknown Source)
> 
> I think this problem is due to a bab config on mod_jk2 or 
> jk2.properties or
> something like that ?
> I search the Tomcat User List Archive and I really don't no 
> where to start to
> resolve this problem ?
> Do I have to remove this file (write.lock) from my PC ?
> 
> Thanks for your help !
> 
> JPK
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to