Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 97796 invoked from network); 23 Jun 2009 07:03:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jun 2009 07:03:04 -0000 Received: (qmail 62051 invoked by uid 500); 23 Jun 2009 07:03:11 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 61959 invoked by uid 500); 23 Jun 2009 07:03:11 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 61948 invoked by uid 99); 23 Jun 2009 07:03:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 07:03:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [130.233.228.108] (HELO mx01.hut.fi) (130.233.228.108) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 07:03:01 +0000 Received: from mx01.hut.fi (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id E8598E8084 for ; Tue, 23 Jun 2009 10:02:39 +0300 (EEST) Received: from materazzi.hut.fi (materazzi.hut.fi [130.233.229.166]) by mx01.hut.fi (Postfix) with ESMTP id C1107E807F for ; Tue, 23 Jun 2009 10:02:39 +0300 (EEST) Received: by materazzi.hut.fi (Postfix, from userid 518) id BE3678071; Tue, 23 Jun 2009 10:02:39 +0300 (EEST) Received: from flannel.tml.hut.fi (flannel.tml.hut.fi [130.233.46.21]) by webmail1.tkk.fi (Horde MIME library) with HTTP; Tue, 23 Jun 2009 10:02:39 +0300 Message-ID: <20090623100239.yhp1cfvnk0go0gss@webmail1.tkk.fi> Date: Tue, 23 Jun 2009 10:02:39 +0300 From: smonte@cc.hut.fi To: users@tomcat.apache.org Subject: Question concerning application paths MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Originating-IP: 130.233.46.21 X-Authenticated-User: smonte X-PMX-Version: 5.4.6.353000, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2009.6.23.64822 X-Spam-Probability: 8% X-Spam-Level: IIIIIII X-PMX-Spam: Gauge=IIIIIII, Probability=8%, Report='BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_800_899 0, NO_REAL_NAME 0, TO_NO_NAME 0, WEBMAIL_SOURCE 0, WEBMAIL_USER_AGENT 0, WEBMAIL_XOIP 0, WEBMAIL_X_IP_HDR 0, __CD 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DATE_TZ_RU 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __PHISH_SPEAR_STRUCTURE_2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __USER_AGENT 0' X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: NONE ; 8% Hey all. I have a an application where other people can deploy their own applications. I would like all the applications to use a common library. However, when I add some common JARs to a shared libarary I'm having some path trouble. I have a xml file in each application which have paths to my DTD files. The problem is that Tomcat tries to look for these files under "tomcat/bin/", not from "tomcat/webapps/appName/". Example: In my XML file at "tomcat/webapps/appName/myXML.xml" I have the following path: "WEB-INF/dtd/someDTD.dtd". I'm using XSLT to transform some XML files and Tomcat always tries to look this "someDTD.dtd" under "tomcat/bin/". Naturally the file is not there so I get an error. How could I make Tomcat to look for the files under "tomcat/webapp/appName/" , not under "tomcat/bin/"? Thanks for any help! --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org