FW: Accessing Properties file located in Conf Directory of Tomcat 5.XX

2009-08-20 Thread Kaverappa.Prabhakar
_ From: Prabhakar, Kaverappa Sent: Thursday, August 20, 2009 10:20 AM To: 'users@tomcat.apache.org' Subject: Accessing Properties file located in Conf Directory of Tomcat 5.XX We have to place, as per rules set by the department, the properties file

Accessing Properties file located in Conf Directory of Tomcat 5.XX

2009-08-20 Thread Kaverappa.Prabhakar
We have to place, as per rules set by the department, the properties file in the Conf directory of Tomcat AS. The TOMCAT does not find the properties file placed in CONF directory but it does find when placed in Common or Shared directory of TOMCAT. I tried placing the directory path in the

RE: Accessing Properties file located in Conf Directory of Tomcat 5.XX

2009-08-20 Thread Martin Gainty
...@do.treas.gov To: users@tomcat.apache.org Date: Thu, 20 Aug 2009 10:52:30 -0400 Subject: FW: Accessing Properties file located in Conf Directory of Tomcat 5.XX _ From: Prabhakar, Kaverappa Sent: Thursday, August 20, 2009 10:20 AM

Re: Accessing Properties file located in Conf Directory of Tomcat 5.XX

2009-08-20 Thread Tim Funk
I am assuming loader is an instance of a classloader. The classloader doesn't see the conf directory. (But as your noticed - it does see the common directory) Your easiest (but tomcat specific) solution is to do something like this: File confDir = new File(System.properties(catalina.home),

Re: Accessing Properties file located in Conf Directory of Tomcat 5.XX

2009-08-20 Thread Pid
To: users@tomcat.apache.org Date: Thu, 20 Aug 2009 10:52:30 -0400 Subject: FW: Accessing Properties file located in Conf Directory of Tomcat 5.XX _ From: Prabhakar, Kaverappa Sent: Thursday, August 20, 2009 10:20 AM To: 'users@tomcat.apache.org' Subject