I appologize for giving you incorrect information on Friday. I was thinking about turbine 2.3's logging configuration.
Turbine 2.2 will not read the location of the log4j.properties file from TR.props. You can put a log4j.properties file in you WEB-INF/classes directory. You will need to make the filenames absolute though. For example, /opt/jakarta/webapps/myapp/logs/turbine.log. > -----Original Message----- > From: Rodrigo Reyes [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 2:05 PM > To: Turbine Users List > Subject: Re: log4j:WARN No appenders could be found for logger... > > > I erased the *.ser files before starting the server, but > the problem is still there. I think in my case, the problem > has to do with log4j.properties, because when I placed that > file inside the classes directory, the error message changed to... > > log4j:ERROR setFile(null,false) call failed. > java.io.FileNotFoundException: \logs\turbine.log (The system > cannot find the path specified) > > The directory exists, so I don't know what is going on. > And I really don't understand why it needs to be inside the > classes directory. If I place it somewhere else (conf > directory, for example) and use log4j.file propertie inside > the TurbineResources.properties, the system seems to be > unable to find it and returns to the "No appenders could be > found for logger" error. > Still, thanx Quinton. Any other idea? > > Rodrigo > > ----- Original Message ----- > From: "Quinton McCombs" <[EMAIL PROTECTED]> > To: "Turbine Users List" <[EMAIL PROTECTED]> > Sent: Monday, January 27, 2003 2:28 PM > Subject: RE: log4j:WARN No appenders could be found for logger... > > > > I just added an entry to the Turbine2FAQ about this.... > > > > http://nagoya.apache.org/wiki/apachewiki.cgi?JakartaTurbine2Faq > > > > > -----Original Message----- > > > From: Quinton McCombs > > > Sent: Monday, January 27, 2003 1:23 PM > > > To: Turbine Users List > > > Subject: RE: log4j:WARN No appenders could be found for logger... > > > > > > > > > This is not a race condition. > > > > > > Tomcat will serialize sessions between restarts. When it > attempts > > > to reload them, you get this error message. > > > > > > The problem seems to appear on every other restart of the server, > > > right? > > > > > > To fix this problem for myself, I modified the > > > startup.bat/startup.sh file to delete *.ser from the work > directory. > > > > > > > -----Original Message----- > > > > From: David Bolshoy [mailto:[EMAIL PROTECTED]] > > > > Sent: Monday, January 27, 2003 12:56 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: RE: log4j:WARN No appenders could be found for > logger... > > > > > > > > > > > > Hi Rodrigo, > > > > > > > > I used to (and still sometimes) have this problem. > Sometimes it is > > > > complaining about stratum, sometimes about torque, > sometimes about > > > > something else. I found out that it is connected to the > Torque not > > > > starting properly. When i see this message i abort the > loading of > > > > Turbine and start Tomcat again. I guess it's some kind of a > > > > race condition, but have no time yet to delve into it properly. > > > > > > > > Hope it helps. > > > > > > > > David > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:turbine-user-> [EMAIL PROTECTED]> > > > For > > > additional commands, > > > e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:turbine-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>