Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 72520 invoked from network); 28 Sep 2005 09:59:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2005 09:59:02 -0000 Received: (qmail 43990 invoked by uid 500); 28 Sep 2005 09:58:56 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 43947 invoked by uid 500); 28 Sep 2005 09:58:56 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 43934 invoked by uid 99); 28 Sep 2005 09:58:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 02:58:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [69.0.160.234] (HELO jupiter.phpwebhosting.com) (69.0.160.234) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 28 Sep 2005 02:59:01 -0700 Received: (qmail 6898 invoked from network); 28 Sep 2005 09:58:28 -0000 Received: from unknown (HELO ?192.168.4.19?) (80.177.162.98) by jupiter.phpwebhosting.com with SMTP; 28 Sep 2005 09:58:28 -0000 Message-ID: <433A6954.9080502@harveyroad.org> Date: Wed, 28 Sep 2005 10:58:44 +0100 From: Rob Norman User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: PropertiesFileModule Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm having problems with the PropertiesFileModule in Cocoon 2.1.7 under Tomcat 5.0. I'm trying to load a simple properties file from a cocoon matcher (the URI in the cocoon.xconf is cocoon:/config.properties) I figured that since it uses a SourceResolver and the examples use resource:/, it should work. However, it keeps saying "Cannot load properties file". I then changed it to not have the cocoon:/ on the front so it was simply specifying a file and that doesn't work either. I have the appropriate file in the root of my webapp and in the WEB-INF directory and it still can't find the file. Can someone tell me where the file needs to be (or even better, how to specify that it's in the WEB-INF directory) please? Cheers, Rob. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org