tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <>
Subject Re: Log files always locked
Date Wed, 02 May 2007 20:47:02 GMT

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 
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 
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 
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" <>
To: "Tomcat Users List" <>
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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message