Hi again all,

Does anyone know if there's an easy way of creating an event handler to
wait for a file to be released by an external application?

I'm using an ExclusiveLock model on a RollingFileAppender. The problem
is if the file is opened by an external program that enforces a lock on
the file, for example Word, when I try and lock my appender I cannot. I
was wondering if there was a watcher or handler that might be able use
to watch for when that file gets released so I can lock onto it as soon
as it does.

I know if I use a MinimalLock model this problem is avoided but I would
prefer to lock the file for my own use. Any ides?

John VanderKolk
[EMAIL PROTECTED]


The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it. 

Reply via email to