Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1A1D100F6 for ; Tue, 5 May 2015 20:36:28 +0000 (UTC) Received: (qmail 77418 invoked by uid 500); 5 May 2015 20:36:25 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 77358 invoked by uid 500); 5 May 2015 20:36:25 -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 77346 invoked by uid 99); 5 May 2015 20:36:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2015 20:36:25 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2015 20:36:19 +0000 Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 3330724E20 for ; Tue, 5 May 2015 20:35:39 +0000 (UTC) Received: from Christophers-MacBook-Pro.local ([173.79.164.201]) by vms173019.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NNW002FP96UR0D0@vms173019.mailsrvcs.net> for users@tomcat.apache.org; Tue, 05 May 2015 15:35:23 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=Ap5ZB14n c=1 sm=1 tr=0 a=YZvWn4c/W8VqgPENxCgm9A==:117 a=cGdM_UB1h6QA:10 a=IkcTkHD0fZMA:10 a=-57I09spAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=h1PgugrvaO0A:10 a=j4nzMFrpAAAA:8 a=6f0Hssh5ae4jvH4EddgA:9 a=QEXdDO2ut3YA:10 Message-id: <55492985.1030101@christopherschultz.net> Date: Tue, 05 May 2015 16:35:17 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-version: 1.0 To: Tomcat Users List Subject: Re: typesafe-config reference.conf file not found in a .jar in WEB_INF/lib References: In-reply-to: Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 David, On 5/5/15 4:30 PM, Walend, David wrote: > typesafe config's loader isn't picking up my subproject's > reference.conf from within a .jar file inside a .war file's > WEB_INF/lib/ . > > typesafe config finds the .jar file outside of tomcat. It works > fine from the .war file's WEB_INF/classes (my hacky fix). > > Typesafe config is finding the reference.conf files in other .jar > files, like > > Loading config from URL > jar:file:/opt/shrine/tomcat/webapps/shrine/WEB-INF/lib/akka-actor_2.11 - -2.3. > > 8.jar!/reference.conf from class loader WebappClassLoader So your WAR file looks like this: /WEB-INF /WEB-INF/lib /WEB-INF/lib/akka-actor.2.11-2.3.8.jar (plus other stuff) Then, akka-actor.2.11-2.8.8.jar contains: /reference.conf (plus other stuff) Do I have that right? Is the URL you have above being used directly from within the web application itself? That is, do you have complete control over the URL, or is it built dynamically or something like that? Which exact version of Tomcat are you using? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJVSSmFAAoJEBzwKT+lPKRYbAgP/iYZZy5TxEB/hO+3BYUnJMBr BOAp/hODsGRd3zd7exoBN204Yvd19TpFSLTkgFvHWitmeST4B0k0KAHm0IJCKXpy HuqcBJmG81eCKgSOQuP5MCDvQavDzBKoFE6vYKRQAwFLQRoWy9TM4kqT/VU/cUd1 dxQW2D4bpm2yOl1BnorKzfunb6XDRDKtN9o+3bkUyjm13A+tbFPjsNJKA7aMFCjt QMJspBXBk90hfwXyGAgvs4tX7wP15MNq0ZdsdkdZmjmBrLR1ZQcMO2s4ldhaTUPX YVp6ZP+JN6m2mYhmnLxq4elLno4tNTNKPv3E9oxVEwLYpWJANmIY+l5c5VcYBTnG LexXBmz1a84aZg2yjGLNN4b/eVw8QQAOftu7arecVOCwnIVThcN9QyT4BxoJOCGD ySZFcfuBIL1IuWyZ/RY2k0gHvSj+xKW6Sd+EyaYuciQYI12gdWzAS9K2vfCNgrl/ 1oX/Yk0hUG6AO2ClOHRVEr4LfQNFDMvL0Ta1GRbbr1/Y0LAHEP2Mt+isWioOZ93v yULGursHp7EolbRd2FAZSe7C6/i9fmABR88jOrdvaSL5/pcdteL8INy13iHXAqyE YE2IiIjDwQPNbw6+cH9jHlGJ0OpPFwaO4rmHhNu8DuBiNGABEyimP6sf3pj4cGfQ t9XwE7qxX3Sym9Puj1PU =u45b -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org