> 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 FileNotFoundException??
Let's see the stack trace. Does the Tomcat userid have access to the file? > Should my properties file be in my class path?? Never, never, never use the CLASSPATH environment variable, especially with Tomcat. The Tomcat startup scripts set the -cp parameter properly; don't muck with it. - 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. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org