-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Vicky,
On 2/10/13 5:51 AM, vicky wrote: > 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. If it's for an application, then you should put it into the application's WEB-INF/classes directory where it belongs. > 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. Your CATALINA_BASE doesn't need a lib/ directory. Put it in WEB-INF/classes in your webapp. > 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. Your guess is as good as mine. > Kindly suggest what all can be the scenarios/prossible use case > for this, Stop throwing things into Tomcat's installation directory when you don't need to. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEAREIAAYFAlEY+MMACgkQ9CaO5/Lv0PARnACfT78E6pqje6dQs0eohBUZXAK7 qwEAnicyLwOCdie6uB7WTsDn2jwAy59J =ld9e -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org