Re: FileNotFoundException in Tomcat6.0

2009-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kumaravel, On 12/18/2009 7:45 AM, jkv wrote: > I was actually not specifing any path to open a file "text.txt" as i had it > under > WEB-INF/classes/test.txt, assuming my classes folder should be in classpath. While your file was in the class path, y

Re: FileNotFoundException in Tomcat6.0

2009-12-18 Thread jkv
t; - -chris > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAksqomkACgkQ9CaO5/Lv0PA7MQCgsLVY4bVhSW3ijmaTemfTb5OK > 9m4An1gOgbdkFI7OYHqmRCMIXA/Zw2nI > =eLMQ > -END PGP SIGNATURE--

RE: FileNotFoundException in Tomcat6.0

2009-12-18 Thread jkv
l > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers.

Re: FileNotFoundException in Tomcat6.0

2009-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kumaravel, On 12/16/2009 4:39 AM, jkv wrote: > I am using tomcat 6.0 and created a log4j configuration folder under > WEB-INF/classes/log4j.properties. I have my log4j.jar file in WEB-INF/lib > folder. I created a simple servlet where in the init meth

RE: FileNotFoundException in Tomcat6.0

2009-12-17 Thread Caldarale, Charles R
> From: jkv [mailto:j.kumara...@gmail.com] > Subject: RE: FileNotFoundException in Tomcat6.0 > > But the problem starts only if you try to configure using a > PropertyConfigurator having the same file there and use the > above statement then you get FNFExe because the classpath

RE: FileNotFoundException in Tomcat6.0

2009-12-17 Thread jkv
expected file path starting from root. Thanks for your valuable time Regards JKV Caldarale, Charles R wrote: > >> From: jkv [mailto:j.kumara...@gmail.com] >> Subject: FileNotFoundException in Tomcat6.0 >> >> I created a simple servlet where in the init method I have

RE: FileNotFoundException in Tomcat6.0

2009-12-16 Thread Caldarale, Charles R
> From: jkv [mailto:j.kumara...@gmail.com] > Subject: FileNotFoundException in Tomcat6.0 > > I created a simple servlet where in the init method I have the > following line > > PropertyConfigurator.configure("log4j.properties"); > > but this is throwing F

FileNotFoundException in Tomcat6.0

2009-12-16 Thread jkv
umaravel J -- View this message in context: http://old.nabble.com/FileNotFoundException-in-Tomcat6.0-tp26808548p26808548.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user