Re: Log File Problems in tomcat

2011-04-08 Thread Konstantin Kolinko
2011/4/8 Harsimranjit singh Kler : > Whenever i am deleting log files(catalina,localhost etc log files) from > tomcat_home\logs path.These are not auto genrating .Everytime i need to > restart tomcat to get thise files i dont want this.Any solution to this? That is how unixes work. See "man unlink

Re: Log File Problems in tomcat

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harsimranjit, On 4/8/2011 3:18 PM, Harsimranjit singh Kler wrote: > Whenever i am deleting log files(catalina,localhost etc log files) from > tomcat_home\logs path.These are not auto genrating .Everytime i need to > restart tomcat to get thise files i

Re: Log File Problems in tomcat

2011-04-08 Thread Harsimranjit singh Kler
Thanks for reply. I was also thinking in that way but after all i need same user to delete(for eg old log deletion or manual deletion) also.So want to avoid restarting tomcat just to create new logs. Looking for some solution at tomcat level so my tomcat always run even if current log files are de

Fwd: Log File Problems in tomcat

2011-04-08 Thread Harsimranjit singh Kler
hi Using tomcat 5.5.27 on Linux machine . Whenever i am deleting log files(catalina,localhost etc log files) from tomcat_home\logs path.These are not auto genrating .Everytime i need to restart tomcat to get thise files i dont want this.Any solution to this? Same problem with my application log

Re: Log File Problems in tomcat

2011-04-08 Thread Pid
On 4/8/11 8:18 PM, Harsimranjit singh Kler wrote: > hi > > Using tomcat 5.5.27 on Linux machine . > > Whenever i am deleting log files(catalina,localhost etc log files) from > tomcat_home\logs path.These are not auto genrating .Everytime i need to > restart tomcat to get thise files i dont want

Log File Problems in tomcat

2011-04-08 Thread Harsimranjit singh Kler
hi Using tomcat 5.5.27 on Linux machine . Whenever i am deleting log files(catalina,localhost etc log files) from tomcat_home\logs path.These are not auto genrating .Everytime i need to restart tomcat to get thise files i dont want this.Any solution to this? Same problem with my application log

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread Filip Hanik - Dev Lists
did you add log4j.jar into your library as well (WEB-INF/lib)? that's what you need, then you can just use it. Tomcat will not use your "logger" for its own logging, putting stuff in WEB-INF-lib/classes is for your webapps logging purposes Filip Gaurav Kushwaha wrote: I am trying to use log4j

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread reno
Le mercredi 21 mars 2007 à 14:36 +0530, Gaurav Kushwaha a écrit : > I am trying to use log4j with Tomcat. I created a log4j.properties file and > dumped it in WEB-INF/classes. I believe its still not being picked up by > Tomcat. Any ideas ? could you please precise your problem... is your log4j

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread Foo Shyn
Sent: Wednesday, March 21, 2007 5:27 PM Subject: Re: Log4j problems in Tomcat 5.x Gaurav Kushwaha wrote: I am trying to use log4j with Tomcat. I created a log4j.properties file and dumped it in WEB-INF/classes. I believe its still not being picked up by Tomcat. Any ideas ? Regards, G

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread sputnik
Gaurav Kushwaha wrote: > I am trying to use log4j with Tomcat. I created a log4j.properties file and > dumped it in WEB-INF/classes. I believe its still not being picked up by > Tomcat. Any ideas ? > Regards, > Gaurav Singh > Kushwaha

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread Леонитьев И . Б .
You may add servlet, something like this: public class init extends HttpServlet implements ServletContextListener{ public void contextInitialized(ServletContextEvent event) { //File propertiesFile -> your log4j.properties PropertyConfigurator.configure(propertiesFile.toString()); } } ..and add to

Log4j problems in Tomcat 5.x

2007-03-21 Thread Gaurav Kushwaha
I am trying to use log4j with Tomcat. I created a log4j.properties file and dumped it in WEB-INF/classes. I believe its still not being picked up by Tomcat. Any ideas ? Regards, Gaurav Singh Kushwaha Ph: +91-9880110695 Bangalor

Re: Problems in TOMCAT

2006-09-19 Thread Martin Gainty
original message without making a copy. Thank you. - Original Message - From: Kevin Mullin To: users@tomcat.apache.org Sent: Tuesday, September 19, 2006 5:46 PM Subject: Problems in TOMCAT I am seeing this in the log that tracks the start of Tomcat: SEVERE: End event

Problems in TOMCAT

2006-09-19 Thread Kevin Mullin
I am seeing this in the log that tracks the start of Tomcat: SEVERE: End event threw exception                                   java.lang.reflect.InvocationTargetException                         .at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)     ...a host of java trace messa

RE: Interfaces and cast problems in Tomcat

2006-06-19 Thread Claudio Veas
the errors so I kept using old classes instead of the new ones and thats why the cast exception appear. Thanks again for the help Claudio Veas ---Original Message--- From: GB Developer Date: 06/19/06 18:55:28 To: 'Tomcat Users List' Subject: RE: Interfaces and cast problems

RE: Interfaces and cast problems in Tomcat

2006-06-19 Thread GB Developer
t: Monday, June 19, 2006 4:15 PM > To: users@tomcat.apache.org > Subject: Interfaces and cast problems in Tomcat > > > Hello my name is Claudio Veas Im very new in tomcat develop > and I was trying to use an interface to implement a cache. I > make all the objects that I wanted to

Interfaces and cast problems in Tomcat

2006-06-19 Thread Claudio Veas
Hello my name is Claudio Veas Im very new in tomcat develop and I was trying to use an interface to implement a cache. I make all the objects that I wanted to keep in memory implement "cacheable" interface so I could insert them into a Vector and then minimize the timing when looking for the same i