Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 9295 invoked from network); 22 Feb 2006 14:57:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 14:57:45 -0000 Received: (qmail 30838 invoked by uid 500); 22 Feb 2006 14:57:39 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 30779 invoked by uid 500); 22 Feb 2006 14:57:39 -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 30768 invoked by uid 99); 22 Feb 2006 14:57:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 06:57:39 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.134.141.226] (HELO smtp1.ign.fr) (192.134.141.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 06:57:38 -0800 Received: from pop.ign.fr (pop.ign.fr [172.16.255.1]) by smtp1.ign.fr (8.13.4/8.13.4/Debian-3) with ESMTP id k1MEthFx013909 for ; Wed, 22 Feb 2006 15:55:45 +0100 Received: from carling.ign.fr (carling.ign.fr [172.20.0.122]) by pop.ign.fr (Postfix) with ESMTP id 35DB93C4002 for ; Wed, 22 Feb 2006 15:57:09 +0100 (CET) From: gilles To: users@cocoon.apache.org Subject: extra-classpath issue ? Date: Wed, 22 Feb 2006 15:59:29 +0100 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602221559.29224.gilles.cebelieu@ign.fr> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm using cocoon 2.1.8 deployed under tomcat 5.5.15 My jdk is 1.5.0_06, my OS is Red Hat Enterprise Linux ES release 4 I wrote a cocoon based application whose files are located in a directory /var/www/webapps/visumtd/ apart from the cocoon webapp directory which is located in /var/www/webapps/cocoon/. I mounted this application through the mount-table mecanism and it works fine. This web application needs some specific jar files to run and I want these jar files to be located in the application file hierarchy, not in the cocoon webapp one. I used the extra-classpath parameter in web.xml of cocoon webapp to specify the path to those jars : ---- /var/www/webapps/visumtd/WEB-INF/lib/visuMtd-v0.0.3_j2dk_1.5.0.jar:/var/www/webapps/visumtd/WEB-INF/lib/metadata-0.0.1.jar ---- but this had no effect and the classes of those jars are not known (ClassNotFoundException) I tried to use the ParanoidCocoonServlet instead of the CocoonServlet as suggested in the web.xml comments but with no effects. I also tried to set the value of the "init-classloader" parameter to true. Still with no effects. Of course, when I put the jar files in the WEB-INF/lib/ directory of cocoon webapp, everything works fine... I've browsed the cocoon-users list archives : it seems that some people meet the same problem, but I didn't found any answer. Does anyone have an idea ? Thanks, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org