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 1D28B200BDC for ; Wed, 14 Dec 2016 17:24:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1BAD9160B19; Wed, 14 Dec 2016 16:24:01 +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 678E6160B0D for ; Wed, 14 Dec 2016 17:24:00 +0100 (CET) Received: (qmail 27441 invoked by uid 500); 14 Dec 2016 16:23:59 -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 27429 invoked by uid 99); 14 Dec 2016 16:23:59 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2016 16:23:59 +0000 Received: from Christophers-iMac.local (pool-74-96-79-133.washdc.fios.verizon.net [74.96.79.133]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 7941E1A0289 for ; Wed, 14 Dec 2016 16:23:58 +0000 (UTC) Subject: Re: [OT] Tomcat listener not coming up - no stuck threads To: Tomcat Users List References: <0abce85f-d136-5e53-b3b0-515f7b351df5@apache.org> From: Christopher Schultz Message-ID: Date: Wed, 14 Dec 2016 11:23:56 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <0abce85f-d136-5e53-b3b0-515f7b351df5@apache.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit archived-at: Wed, 14 Dec 2016 16:24:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark, On 12/8/16 4:19 AM, Mark Thomas wrote: > On 07/12/2016 15:21, Christopher Schultz wrote: >> >> Hmm... there is the "startStopThreads" setting on the Engine, >> but unfortunately there is not (currently available) setting that >> says "don't use multiple threads at all". It looks like Tomcat is >> always going to use at least one (separate) thread to launch the >> various Hosts (and webapps). > > It wouldn't be too hard to change that to not use an executor if > the default of startStopThreads="1" was being used. +1 to running start on the main thread if startStopThreads="1". Where would I look to start working on a proposed patch? The Tomcat Lifecycle isn't my strong suit. > However... Even if this doesn't solve John's problem, I think it's worth doing. Comments? - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJYUXIcAAoJEBzwKT+lPKRYuWsQAMhrAt3mFLGio4u16ZABWLyG vPwlNRH24l9AnXu2yJ2FALS0ydIB8RTKW7BlwsdrlVAINQ8I0tWXFY4cn7jnMox3 GLyg0ABmSIYqO/Qxqd4YIILBWWycNmvWn8BBgfLvqJaVDO/VB8vrsGClBnVbuqh8 UetcFoCuIjXWpSQFBI7NhPouE4C145eMrmSmbz0Go7jtBPEfib5dgF26QepfX56M +ds8CDJc9OLusGSCvNgzYu7HXo3fBAFr52LoykQn6IqJbfv0PduiX8ySbLceBXpa VGlD9Fb9P/08wgANgBs7cbgkmxaEU/PnpXB/B5Mx8QbBV08Ajch3Rxedc2ikqMgi GP0n8xYzk0GaeEl8VSEwIQCbkib8kz4cR8s+nsiDwcq1WkFrIUqqr0UapN3dyRAS ySlfFyYN+Wbhe37lRjjQrMDsVcS8mX7t9ELKYRQ3difkmKeeme6D60tyNX/gEUPp NqHFeOknpgNw/Orj3KM6v1b9BAeRstFelx+kAffrc0G9Gz9GG8+BY7ThBvdfrSZO wp/ufXhmyVta57qVmmpwR7ua3b5npbCvgkIos6GTu2dKRMqRj2pBPBA3f9HyT82S 1IsYM72RhCTimrmskIb2/G6okRNa1aft5f3iypwsG6J1+ZLxgYROZVWfTbdA9WRS 2/n3/Gtg2yi9GhED0luy =FbNM -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org