tomcat5 does not find properties file in webapp

2004-07-21 Thread Lorenz, Christoph
Hi, what is the reason, that tomcat5 (5.0.25) does not read my properties file, which I placed in $WEBAPP/WEB-INF/classes/my.properties when I try to access it the following way: Properties p = new Properties(); p.load(MyServiceImpl.class.getResourceAsStream("/my.properties")); If I try to det

RE: tomcat5 does not find properties file in webapp

2004-07-21 Thread Shapira, Yoav
Hi, No reason -- it should work, and it works for me ;) Yoav Shapira Millennium Research Informatics >-Original Message- >From: Lorenz, Christoph [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 21, 2004 9:15 AM >To: 'Tomcat Users List' >Subject: tomcat5 does no

Re: tomcat5 does not find properties file in webapp

2004-07-21 Thread Hans Wichman
Hi, do you have rights to read the property file? Is the codebase for the MyServiceImpl class equal to $WEBAPP/WEB-INF/classes/? greetz Hans At 03:15 PM 7/21/2004, Lorenz, Christoph wrote: Hi, what is the reason, that tomcat5 (5.0.25) does not read my properties file, which I placed in $WEBAPP/WEB-

RE: tomcat5 does not find properties file in webapp

2004-07-21 Thread Mike Curwen
5 AM > To: 'Tomcat Users List' > Subject: tomcat5 does not find properties file in webapp > > > Hi, > > what is the reason, that tomcat5 (5.0.25) does not read my > properties file, which I placed in > > $WEBAPP/WEB-INF/classes/my.properties > > when

Re: tomcat5 does not find properties file in webapp

2004-07-21 Thread Tim Funk
?) -Original Message- From: Lorenz, Christoph [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 8:15 AM To: 'Tomcat Users List' Subject: tomcat5 does not find properties file in webapp Hi, what is the reason, that tomcat5 (5.0.25) does not read my properties file, which I