Wots Up Doc!... Rashmi I am using the Windows Installer... and when I saw
what you said
I killed every thing and then just started and stopped Tomcat... and guess
wot!... the
files are not locking... ie they letting other programs open them.
So now I dont know whats causing the solid lock... but when it does happen
its
not a fleeting thing..... its a solid block for any program trying to open
with "read write" access.
.... was beginning to think maybe it was just me
but if you look at Propes, Barry L post... thats exactly wot I had to
do.... ie copy
all the files... and then open them... which sucks.
Clearly Tomcat is not designed to hard lock them.... but something causes
it.
Anyway.... I'll keep an eye on it and see if I can figure out what it is I
do... that makes
them hard lock.
I'm always developing so it may be something subtle like a netbeans program
bug that makes Tomcat not close the handle.... beats me but it happens a
lot.
I think the work arounds the other guys have found like those text editors,
are opening as read only... and thats why they work... but there is
something weird going on.
Thanks Johnny
----- Original Message -----
From: "Rashmi Rubdi" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, May 02, 2007 9:07 PM
Subject: Re: Log files always locked
I'm able to open Tomcat log files with Notepad, while Tomcat is running.
I guess the lock happens when Tomcat is writing to the log file, and
the file is being opened simultaneously. I think you're using the
Windows Installer and I've installed mine from the zip file. I don't
know if it makes a difference in case of locking log files.
Also there are few tail -f utilities for Windows that simulate the
Unix tail -f command, helpful to view recent changes to the log file
or see it running. I don't know if Textpad does that, you my have to
scroll to the bottom to see changes.
Regards
Rashmi
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]