7.0.56 To make Tomcat to create a pid file , you need to specify name of the file in the Tomcat 7 properties window (To open this window select, Configure Tomcat menu option in the Windows Start menu)
Regards, Anilkumar Ambati 4205 S Miami Blvd WebSphere Virtual Enterprise Development Durham, 27703-9141 Phone: +1-919-254-6152 USA Mobile: +1-919-434-5674 e-mail: aamb...@us.ibm.com "You have no responsibility to live up to what other people think you ought to accomplish." -Richard Feynman (1918-1988) From: David kerber <dcker...@verizon.net> To: Tomcat Users List <users@tomcat.apache.org>, Date: 11/04/2014 04:37 PM Subject: Re: PID file locked on Windows 2008 system On 11/4/2014 4:21 PM, Anil Ambati wrote: > I was referring to the .pid file Tomcat server creates in the logs > directory. This file contains the process ID of the Tomcat process. What version of Tomcat, Windows, and Java are you using? My 7.0.54 doesn't seem to create that file anywhere in the file system. > > Regards, > ------------------------------------------------------------------------ > *Anilkumar Ambati* 4205 S Miami Blvd > WebSphere Virtual Enterprise Development Durham, 27703-9141 > Phone: +1-919-254-6152 USA > Mobile: +1-919-434-5674 > e-mail: aamb...@us.ibm.com > ------------------------------------------------------------------------ > "You have no responsibility to live up to what other people think you > ought to accomplish." -Richard Feynman (1918-1988) > > > > > > From: David kerber <dcker...@verizon.net> > To: Tomcat Users List <users@tomcat.apache.org>, > Date: 11/04/2014 03:45 PM > Subject: Re: PID file locked on Windows 2008 system > > > ------------------------------------------------------------------------ > > > > On 11/4/2014 2:58 PM, Anil Ambati wrote: > > Hi, > > We have a requirement to read the PID file created by the Tomcat server > > process on Windows, but we are not able to using RandomAccessFile or > > FileInputStream because the file seems to be locked by the Tomcat > process. > > What is the PID file? The only abbreviation I know by that name is the > Process ID, which is just a number. > > > > > > > > > Why does the Tomcat server keep the PID file locked, preventing other > > processes to even read the file? Is there a work around or solution for > > this problem? > > > > Any help is appreciated. Thank you in advance. > > > > > > Regards, > > > > > > Regards, > > ------------------------------------------------------------------------ > > *Anilkumar Ambati* 4205 S Miami Blvd > > WebSphere Virtual Enterprise Development Durham, 27703-9141 > > Phone: +1-919-254-6152 USA > > Mobile: +1-919-434-5674 > > e-mail: aamb...@us.ibm.com > > ------------------------------------------------------------------------ > > "You have no responsibility to live up to what other people think you > > ought to accomplish." -Richard Feynman (1918-1988) > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org