Re: Problem while loading the log4j.xml in to the classpath

2009-02-27 Thread Jacob Kjome
You're spawning a new JVM instance from your code running under Tomcat?  That's, well, odd.  In any case, try adding -Dlog4j.debug=true to see what is going on. Jake On Fri, 27 Feb 2009 09:59:47 +0530 kondal rao wrote: Hi Jake, I am not using any custom DOMConfigurator cla

Re: Problem while loading the log4j.xml in to the classpath

2009-02-26 Thread kondal rao
Hi Jake, I am not using any custom DOMConfigurator class.I am running my code on the tomcat so I am using code level to set this command line variable.I am using this code in my Listener class . String cmd="java -Dlog4j.configuration=file:///C:/kondal/log4j.xml in.co.netsol.niab.porta

Re: Problem while loading the log4j.xml in to the classpath

2009-02-26 Thread Jacob Kjome
On Thu, 26 Feb 2009 21:00:48 +0530 kondal rao wrote: Thanks for your reply.I am using sample only.just a spelling mistake. I tried this (file:///C:/samplel/log4j.xml) but it is not working.Any ideas please. You just made the same spelling mistake again. Also, one critical thing I forgot to

Re: Problem while loading the log4j.xml in to the classpath

2009-02-26 Thread kondal rao
Thanks for your reply.I am using sample only.just a spelling mistake. I tried this (file:///C:/samplel/log4j.xml) but it is not working.Any ideas please. Thanks kondal On Thu, Feb 26, 2009 at 8:42 PM, Jacob Kjome wrote: > On Thu, 26 Feb 2009 14:03:43 +0530 > kondal rao wrote: > >> Hi, >> >

Re: Problem while loading the log4j.xml in to the classpath

2009-02-26 Thread Jacob Kjome
On Thu, 26 Feb 2009 14:03:43 +0530 kondal rao wrote: Hi, I am using the log4j for logging in my webapplication.I am keeping the log4j.xml file outside of my web application(generally we will keep under WEB-INF/classes).My problem is my application is not loading the log4j.xml.I am using

Problem while loading the log4j.xml in to the classpath

2009-02-26 Thread kondal rao
Hi, I am using the log4j for logging in my webapplication.I am keeping the log4j.xml file outside of my web application(generally we will keep under WEB-INF/classes).My problem is my application is not loading the log4j.xml.I am using the following code while my context is initializing to l