Re: best practice for resources folder

2010-05-18 Thread Juergen Weber
Rainer Jung-3 wrote: If you want to keep them webapp-private, you might be interested in http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/loader/VirtualWebappLoader.html Thanks, that's exactly what I was looking for. Working dir for Tomcat seems to be bin, so my

RE: best practice for resources folder

2010-05-18 Thread Caldarale, Charles R
From: Juergen Weber [mailto:webe...@gmail.com] Subject: Re: best practice for resources folder Working dir for Tomcat seems to be bin, so my application conf directory under conf is addressed like virtualClasspath=../conf/myapp Probably better to use virtualClasspath=${catalina.base

Re: best practice for resources folder

2010-05-18 Thread Rainer Jung
On 17.05.2010 22:44, Thad Humphries wrote: Rainer, I wasn't aware of this library, but it looks very handy. Currently I a properties file in my WAR file. Being able to make changes to an external file with fallback to this one would be good. My questions where one might put that external

Re: best practice for resources folder

2010-05-17 Thread Peter_Ford
Isn't ${catalina.home}/lib a place that should work with the default catalia.properties? Pete Juergen Weber webe...@gmail.com wrote on 05/17/2010 09:14:01 AM: Hi, this seems to be a FAQ, but I could not find a solution for Tomcat 6: We want to keep property files out of war files. Where

Re: best practice for resources folder

2010-05-17 Thread Rainer Jung
On 17.05.2010 17:14, Juergen Weber wrote: Hi, this seems to be a FAQ, but I could not find a solution for Tomcat 6: We want to keep property files out of war files. Where should we put the property files to access them from the web app via Class.getResourceAsStream() ? For JBoss one would

Re: best practice for resources folder

2010-05-17 Thread Rainer Jung
On 17.05.2010 18:05, Rainer Jung wrote: On 17.05.2010 17:14, Juergen Weber wrote: Hi, this seems to be a FAQ, but I could not find a solution for Tomcat 6: We want to keep property files out of war files. Where should we put the property files to access them from the web app via

Re: best practice for resources folder

2010-05-17 Thread Thad Humphries
Rainer, I wasn't aware of this library, but it looks very handy. Currently I a properties file in my WAR file. Being able to make changes to an external file with fallback to this one would be good. My questions where one might put that external file where it could be found by a servlet. The