You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ivan <ig...@tahbit.es> on 2000/11/01 18:41:28 UTC

RV: Problems finding properties files

----- Original Message ----- 
From: Ivan 
To: tomca-user@jakarta.apache.org 
Sent: Wednesday, November 01, 2000 6:31 PM
Subject: Problems finding properties files


Hello,
 
I'm a tomcat user, and I was trying to develop a web application, I included the following lines in server.xml file

<Context path="/isover" docBase="webapps/isover" debug="0" reloadable="true">
 </Context>

and then I created the isover directory with the appropiate structure and files, I included the properties files in WEB-APP directory, and when I run the application an error appears that says it can't find the property file; this file is used in a servlet.

The web.xml file included in my application is the default one that is in the conf directory.

I tried to solve the problem including the property file in all of the application directories and the same error appeared again. 

What could be the problem? 

My linux version is Red Hat 7.0 with glibc5.0.

      Thanks in advance, 

      Ivan Gutierrez Garcia.

Re: Problems finding properties files

Posted by Alexander Kogan <ko...@ptc.com>.
> You also can put any .properties files your apps use 
> in TOMCAT_HOME/bin and they should find them.

Ok. you can even put then into tomcat classpath. But
all those solutions are against Servlet/JSP spec. 

So, is it a bug in Tomcat? I'm talking about 3.2beta6.

Same thing about loading jar-files from WEB-INF/lib
or tomcat-home/lib. 


-- 
_________________________________________________________
Alexander Kogan    Parametric Technology Corporation
kogan@ptc.com      128 Technology Drive, Waltham MA 02453

Re: Problems finding properties files

Posted by Leon Palermo <le...@zedak.com>.
You also can put any .properties files your apps use in TOMCAT_HOME/bin and they should find them.

-Leon
  ----- Original Message ----- 
  From: Ivan 
  To: tomcat-user@jakarta.apache.org 
  Sent: Wednesday, November 01, 2000 12:41 PM
  Subject: RV: Problems finding properties files



  ----- Original Message ----- 
  From: Ivan 
  To: tomca-user@jakarta.apache.org 
  Sent: Wednesday, November 01, 2000 6:31 PM
  Subject: Problems finding properties files


  Hello,

  I'm a tomcat user, and I was trying to develop a web application, I included the following lines in server.xml file

  <Context path="/isover" docBase="webapps/isover" debug="0" reloadable="true">
   </Context>

  and then I created the isover directory with the appropiate structure and files, I included the properties files in WEB-APP directory, and when I run the application an error appears that says it can't find the property file; this file is used in a servlet.

  The web.xml file included in my application is the default one that is in the conf directory.

  I tried to solve the problem including the property file in all of the application directories and the same error appeared again. 

  What could be the problem? 

  My linux version is Red Hat 7.0 with glibc5.0.

        Thanks in advance, 

        Ivan Gutierrez Garcia.