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 7FD98200B33 for ; Wed, 29 Jun 2016 18:53:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7E5C4160A57; Wed, 29 Jun 2016 16:53:38 +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 C4EBE160A3C for ; Wed, 29 Jun 2016 18:53:37 +0200 (CEST) Received: (qmail 75258 invoked by uid 500); 29 Jun 2016 16:53:36 -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 75247 invoked by uid 99); 29 Jun 2016 16:53:35 -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; Wed, 29 Jun 2016 16:53:35 +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 8523C1A1296 for ; Wed, 29 Jun 2016 16:53:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.8 X-Spam-Level: X-Spam-Status: No, score=-0.8 tagged_above=-999 required=6.31 tests=[HK_RANDOM_ENVFROM=0.626, HK_RANDOM_FROM=0.001, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-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 caIXP6PM8uqK for ; Wed, 29 Jun 2016 16:53:33 +0000 (UTC) Received: from mx01.famiru.de (mx01.famiru.de [85.25.150.82]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 3B9825FB0D for ; Wed, 29 Jun 2016 16:53:33 +0000 (UTC) Received: from [10.54.208.91] (unknown [88.128.80.115]) by mx01.famiru.de (Postfix) with ESMTPSA id 5C4BB10E0B13 for ; Wed, 29 Jun 2016 18:53:29 +0200 (CEST) Subject: Re: [ANN] Apache Tomcat 8.5.3 available Reply-To: Tomcat Users List References: <02a8a060-033d-5772-97b3-10e1003ab587@apache.org> <7731a9ad-a63d-2207-de20-a4dca6edbb4e@apache.org> To: Tomcat Users List From: Christian Message-ID: <490c4a7f-0873-4be5-8d05-0d9c3a840cbb@famiru.de> Date: Wed, 29 Jun 2016 18:53:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Wed, 29 Jun 2016 16:53:38 -0000 On 29.06.2016 18:34, Christian wrote: > On 29.06.2016 17:54, Mark Thomas wrote: >> Those just wrap java.util.logging so follow the instructions (from >> log4j2) to redirect that to log4j2. >> >> Mark > > Thank you for your quick reply. > That's what I did already[1], but it still results in an exception: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/juli/logging/LogFactory > > This message results from the attempt to load the logger into > org.apache.catalina.startup.ContextConfig's static log field. > > Just to prevent misunderstandings: I'm using tomcat-embed-core 8.5.3. > > Regards > Christian > > [1] add log4j-jul to classpath and add > java.util.logging.manager=org.apache.logging.log4j.jul.LogManager to > the system properties > I found my mistake: I just needed to add org.apache.tomcat:tomcat-juli... Regards Christian --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org