Vicky: Unless there's some reason you need to have this properties files available to all applications running in Tomcat (unusual, but not unheard of), you should probably be putting the properties file in your application, in WEB-INF/classes, which is always on the application classpath (per the JEE spec). Another way to handle it is to JAR it up into a JAR file and put it into WEB-INF/lib, but that's a bit trickier. Just a thought: that way other applications can use different values for the same properties. But if it's working for you....
David Sills -----Original Message----- From: vicky [mailto:vicky007aggar...@yahoo.co.in] Sent: Sunday, February 10, 2013 5:52 AM To: users@tomcat.apache.org Subject: [tomcat 6.0.35]- propert loadin Hi All, My application need a "resource/properties" file to exist in the CLASSPATH, for this i placed my resource file in <CATALINA_BASE>/bin folder & it was working fine. But since yesterday my application reporting the error that properties file doesnt exist in classpath/path In order to fix then i created the lib folder in my <CATALINA_BASE> & placed my "properties/resourc"e file over there, which eventually fixed my application CLASSPATH issue. But the thing which makes me wonder that how my application was able to access the properties file earlier when i placed it <CATALINA_BASE>/bin location & what makes it to stop now. Kindly suggest what all can be the scenarios/prossible use case for this, TOmcat version - 6.0.35 Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org