Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 65660 invoked from network); 2 May 2007 21:02:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2007 21:02:14 -0000 Received: (qmail 77362 invoked by uid 500); 2 May 2007 21:02:09 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 76967 invoked by uid 500); 2 May 2007 21:02:08 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 76956 invoked by uid 99); 2 May 2007 21:02:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 14:02:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [204.15.252.107] (HELO laredo.icertified.net) (204.15.252.107) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 14:02:00 -0700 Received: (qmail 14490 invoked from network); 2 May 2007 17:01:39 -0400 Received: from ool-18b8b177.dyn.optonline.net (HELO ROCKMAN) (24.184.177.119) by 204.15.252.111 with SMTP; 2 May 2007 17:01:39 -0400 From: "Steven Rock" To: "'Tomcat Users List'" References: <000e01c78ce8$789572f0$0400000a@animal> <360A1674FFC73B42BFD657060941DBF30BE87270@FG200201EVS.ftb.ca.gov> In-Reply-To: <360A1674FFC73B42BFD657060941DBF30BE87270@FG200201EVS.ftb.ca.gov> Subject: RE: Log files always locked Date: Wed, 2 May 2007 17:01:09 -0400 Message-ID: <006301c78cfd$1460a100$3d21e300$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AceM6Id9pheycE8KSlG8DN2MOXVZkAACjP4wAAKB1eA= Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org I use tomcat and jboss on windows. I have installed cygwin Unix shell for windows and put all the commands in my PATH env variable. Then I can run: tail -f log.out This continuously shows me the log file as it gets updated. -Steve -----Original Message----- From: Fargusson.Alan [mailto:Alan.Fargusson@ftb.ca.gov] Sent: Wednesday, May 02, 2007 3:54 PM To: Tomcat Users List Subject: RE: Log files always locked I think this is a Windows issue. I doubt that Tomcat actually locks the log files. The reason I think that this is a Windows issue is that I run into the same thing with other programs. I don't run Tomcat on Windows, so I can't check Tomcat log files specifically. I think that this behavior depends on the type of filesystem used. In my case it seems that if a file is on a FAT filesystem I have this problem, but if it is on a NTFS filesystem I don't. I have not been able to prove this though. -----Original Message----- From: Johnny Kewl [mailto:john@kewlstuff.co.za] Sent: Wednesday, May 02, 2007 11:34 AM To: Tomcat Users List Subject: Log files always locked Just something that bugs me..... On windows if you try open a tomcat log file... which are typically associated with something like notepad, you get "In Use By Another Program". Why does Tomcat lock the file handle indefinitely? It maybe good programming practice but windows utilities generally dont give one the option of "will open as read only"... its always a mission just to read a log file. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org