Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 77DA7200D2E for ; Tue, 31 Oct 2017 20:16:23 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 768281609EF; Tue, 31 Oct 2017 19:16:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BC1D41609E6 for ; Tue, 31 Oct 2017 20:16:22 +0100 (CET) Received: (qmail 28609 invoked by uid 500); 31 Oct 2017 19:16:21 -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 28597 invoked by uid 99); 31 Oct 2017 19:16:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2017 19:16:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2F8AA1A396D for ; Tue, 31 Oct 2017 19:16:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.401 X-Spam-Level: X-Spam-Status: No, score=-2.401 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id gpK-UASA4Vi3 for ; Tue, 31 Oct 2017 19:16:19 +0000 (UTC) Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CF63F5FAEA for ; Tue, 31 Oct 2017 19:16:18 +0000 (UTC) Received: by mail-wr0-f181.google.com with SMTP id w105so49103wrc.0 for ; Tue, 31 Oct 2017 12:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Gbef0PhdAf41kyIslnP4z6WiU0qrQS+gYgqnyCToBts=; b=DDxTYAuYsAKMQtvv2QatocOrUdLATpHcs/LX8mKbU5fyqxbuYiSqYxB5YSEnGRJTsh vNWMVB8iY2o9N8xHEAbWJfvzAyULJVsw3vgVphJgim17ixNipO/589U5xZYEKurHl7hY EwY7UegLXqOqL7yWzeNmupfd7Mt93FuOI4c9UYGOOyrrTPqvd7LIlbs/2vmkbuneoDnr 47401EPelZnVMzB0jASvOm+H/tCFs1YcQMPE93lw4x4rEbaqAr3veCqbdTMgOUhh/31T EB/N7cVVaVbetjqdTsOacJbW2lPxjYms4Yqd8JOEvxpkTpiTYscFjKdfd6jGdYd1/ZlH SOpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Gbef0PhdAf41kyIslnP4z6WiU0qrQS+gYgqnyCToBts=; b=EoiQcFOwVpnT2vwk5i/PP1Stv1pZLQJx8Isihdo1YW2189fqc1lIkiZJtfGT+EvJIT V0Llh66va7EULIgVZ/q6PtQp1SBcqc1tpkYWzWin/SK4GE/j2XoAToVlAA7eWl03BNhA bOdh2STJHzMk6jU7W8wRSmKoeULwOQ7WOtzgWdqV6Ko64nvBeBZra5VE5F5mMKQ0oBK7 AE69fmMKgdwFhsr76XURjNWzZY6NFk7kJMsmchfM65AiRoqLXOEyKS4FVojlium209Ej L4rhhPOayx5RvL9QNBEuwaHiZmAcNnl5nZPPXarJrzKyTxrnqIODs74QxwGoMSrWZZuU drRQ== X-Gm-Message-State: AMCzsaXMAU93Ur0JRIrsxNPmzU7S3jMXX4I6VI0N1kTZgY+B1hHASvES i7Q9G/bMYu51ORsIfZyBbKGyBvfLdRjZeaN2nCA= X-Google-Smtp-Source: ABhQp+SaSo2GjEdF46Lll8WkY+nxmH4q50pYMFza4Djte65itZYuUnW3IVQ2O5J7ZfcUIWWrh0MkVa4XQsT1ra4yCiM= X-Received: by 10.223.184.205 with SMTP id c13mr2487203wrg.268.1509477378277; Tue, 31 Oct 2017 12:16:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.184.17 with HTTP; Tue, 31 Oct 2017 12:16:17 -0700 (PDT) In-Reply-To: References: From: Chris Cheshire Date: Tue, 31 Oct 2017 15:16:17 -0400 Message-ID: Subject: Re: configuring jarscanner in 8.5 to ignore entire directory To: Tomcat Users List Content-Type: text/plain; charset="UTF-8" archived-at: Tue, 31 Oct 2017 19:16:23 -0000 PS JarScannerFilter above is a copypasta error, I do have the correct tag in my config with the same result On Tue, Oct 31, 2017 at 3:03 PM, Chris Cheshire wrote: > How do I tell the jar scanner to ignore my entire WEB-INF/lib > directory for the pluggability scan and tld scan? > > I have in my context.xml > > > pluggabilitySkip="${tomcat.util.scan.StandardJarScanFilter.jarsToSkip},*/WEB-INF/lib/*.jar" > > tldSkip="${tomcat.util.scan.StandardJarScanFilter.jarsToSkip},*/WEB-INF/lib/*.jar" > /> > > > > the JarScanner completely ignores it as evidenced by the 20+ log > messages along the lines of > > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/home/sandbox1/tomcat/webapps/p/WEB-INF/lib/java-image-scaling-0.8.6.jar]. > Consider adding the JAR to the > tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in > CATALINA_BASE/conf/catalina.properties file > > > If I start listing each individual jar file it stops scanning them. Is > there no way to just exclude an entire directory? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org