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 973A4ED06 for ; Mon, 14 Jan 2013 18:15:56 +0000 (UTC) Received: (qmail 2935 invoked by uid 500); 14 Jan 2013 18:15:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 2741 invoked by uid 500); 14 Jan 2013 18:15:53 -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 2731 invoked by uid 99); 14 Jan 2013 18:15:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 18:15:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [68.232.129.197] (HELO esa2.nike.iphmx.com) (68.232.129.197) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 18:15:43 +0000 X-IronPort-AV: E=Sophos;i="4.84,468,1355126400"; d="scan'208,217";a="25573461" Received: from barrierb241.nike.com (HELO barrierL241.nike.com) ([146.197.27.90]) by esa2.nike.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 14 Jan 2013 10:15:21 -0800 From: "Delia, Brett" To: "users@tomcat.apache.org" Date: Mon, 14 Jan 2013 10:15:19 -0800 Subject: catalina.properties on Windows 7 64bit Thread-Topic: catalina.properties on Windows 7 64bit Thread-Index: Ac3ygM4He3WCUeOFRo23gbAPA9h2sQAAkhwQ Message-ID: <201301141815.r0EIFLnX047541@barrierL241.nike.com> References: <96D4E80E264CAE41A7EB4A04828193F002DB669918@BEAVERTN-SVR-VC.nike.com> In-Reply-To: <96D4E80E264CAE41A7EB4A04828193F002DB669918@BEAVERTN-SVR-VC.nike.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_96D4E80E264CAE41A7EB4A04828193F002DB77811EBEAVERTNSVRVC_" MIME-Version: 1.0 X-OriginalArrivalTime: 14 Jan 2013 18:15:21.0010 (UTC) FILETIME=[1D510920:01CDF283] X-Virus-Checked: Checked by ClamAV on apache.org --_000_96D4E80E264CAE41A7EB4A04828193F002DB77811EBEAVERTNSVRVC_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Greetings, I have a frustrating issue that I see when I try to set up an environment o= n my Windows laptop, where I do development, to match my Linux servers that= our applications reside. Everything seems to behave the way I would expec= t with the exception of setting the shared.loader property in catalina.prop= erties. On Linux I can set it up like this: shared.loader=3D${catalina.base}/sharedProperties,${catalina.base}/ sharedP= roperties /*.properties,${catalina.home}/ sharedProperties,${catalina.home}= / sharedProperties /*.properties But on my Windows laptop that does not work and results in the server throw= ing the following during start up: SEVERE: Class loader creation threw exception java.io.IOException: The system cannot find the file specified at java.io.WinNTFileSystem.canonicalize0(Native Method) at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396) at java.io.File.getCanonicalPath(File.java:559) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Cl= assLoaderFactory.java:201) at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.j= ava:174) at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.ja= va:98) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391) I can get it working if I explicitly name all of the property files that mi= ght be in that directory like so: shared.loader=3D${catalina.base}/sharedProperties,${catalina.base}/ sharedP= roperties /foo.properties,${catalina.base}/ sharedProperties /bar.propertie= s,${catalina.home}/ sharedProperties,${catalina.home}/ sharedProperties /fo= o.properties,${catalina.home}/sharedProperties /bar.properties My intent is to not have to do that but to leave it more generic, like we d= o on the Linux servers. This makes it so that each application that has a= property file that need to be dropped in that shareProperties directory do= es not have to result in updating the Tomcat configuration. Any insight on why I cannot seem to configure this the same way on Windows = and Linux would be greatly appreciated. According to the properties file i= tself I should be able to do so. Thanks Brett Delia --_000_96D4E80E264CAE41A7EB4A04828193F002DB77811EBEAVERTNSVRVC_--