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 1ABF210AFC for ; Fri, 21 Nov 2014 17:37:47 +0000 (UTC) Received: (qmail 80250 invoked by uid 500); 21 Nov 2014 17:37:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80186 invoked by uid 500); 21 Nov 2014 17:37:42 -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 80175 invoked by uid 99); 21 Nov 2014 17:37:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2014 17:37:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of knst.kolinko@gmail.com designates 209.85.216.50 as permitted sender) Received: from [209.85.216.50] (HELO mail-qa0-f50.google.com) (209.85.216.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2014 17:37:16 +0000 Received: by mail-qa0-f50.google.com with SMTP id w8so3804908qac.9 for ; Fri, 21 Nov 2014 09:36:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=m9RC3sYuZBq+JUb8/f8t8tjIZ2ly4dcYbSaqt/nbrEM=; b=RZz7QUVmPbfiBpd8vnasP1j9cBAkPlUbt5lTQzMFv97OdRorlpFnLeqothX6PrmReq 9EgfNyQ1n01hxF/W6iNZRJACkrQ7dldd8ZFpJ9qy4GR3xI0dRY6VKhAksJ0Xi+vY/06k 3p56wyKLoVaRZQ6ZpUbHlaf4AptHCg23CX6W+AuPGAFORVSOpu2Mj3rGIwOJArWAVKzG 0Kn4WhyfvYJj7D+UfRsN4cq11bVCvUh11W4cpzqEJ0AOH4wf/F9tOYoUMcTMcvIaoosK N2UaEuZb51/LrJRXJQMLkN8So0w+AJ+D5seBKZOJ54ai5sNww0opZ1en6fwLrGzdxj47 2GsA== MIME-Version: 1.0 X-Received: by 10.140.17.67 with SMTP id 61mr7775902qgc.59.1416591390389; Fri, 21 Nov 2014 09:36:30 -0800 (PST) Received: by 10.140.106.227 with HTTP; Fri, 21 Nov 2014 09:36:30 -0800 (PST) In-Reply-To: <546CD6F6.3000503@getrailo.org> References: <546CD6F6.3000503@getrailo.org> Date: Fri, 21 Nov 2014 20:36:30 +0300 Message-ID: Subject: Re: catalina.properties and system properties From: Konstantin Kolinko To: Tomcat Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org 2014-11-19 20:44 GMT+03:00 Igal @ getRailo.org : > hi, > > I don't have use for scanning the jars for tld files etc., so usually, > in catalina.properties, I skip all jars by setting > > tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jar > > I just noticed that I can set it via a system property, i.e. > > -Dtomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jar > > 1) does the system property override catalina.properties? No. Note that the source code is available http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/startup/CatalinaProperties.java?view=markup#l147 > 2) can I use just "*" instead of "*.jar"? Try it. I think that the answer is yes, as Tomcat currently uses pattern matching code borrowed from Ant. > 3) is it possible to set the common.loader from catalina.properties via > a system property? I think the answer is yes, but you would better try it / read the code. Note that common.loader can include references to other properties, like it does with ${catalina.base} etc. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org