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 C76C8200BEC for ; Thu, 15 Dec 2016 04:01:27 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C60CB160B2E; Thu, 15 Dec 2016 03:01:27 +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 1C6B8160B19 for ; Thu, 15 Dec 2016 04:01:26 +0100 (CET) Received: (qmail 97742 invoked by uid 500); 15 Dec 2016 03:01:24 -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 97688 invoked by uid 99); 15 Dec 2016 03:01:20 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2016 03:01:20 +0000 Received: from mail-yb0-f170.google.com (mail-yb0-f170.google.com [209.85.213.170]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 7C0E21A04AC for ; Thu, 15 Dec 2016 03:01:20 +0000 (UTC) Received: by mail-yb0-f170.google.com with SMTP id v78so25945046ybe.3 for ; Wed, 14 Dec 2016 19:01:20 -0800 (PST) X-Gm-Message-State: AIkVDXKL/vGFfrjC7B1opATIftx1XiT1lX8hnNwjzp0A9IQHmUFb5PCGbzzYZxFtASwHX8LCl6RNHYM+1vELcA== X-Received: by 10.37.71.133 with SMTP id u127mr49219yba.160.1481770879553; Wed, 14 Dec 2016 19:01:19 -0800 (PST) MIME-Version: 1.0 References: <0abce85f-d136-5e53-b3b0-515f7b351df5@apache.org> In-Reply-To: From: "John D. Ament" Date: Thu, 15 Dec 2016 03:01:09 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [OT] Tomcat listener not coming up - no stuck threads To: Tomcat Users List Content-Type: multipart/alternative; boundary=001a114231deea1b7a0543a9aa62 archived-at: Thu, 15 Dec 2016 03:01:28 -0000 --001a114231deea1b7a0543a9aa62 Content-Type: text/plain; charset=UTF-8 I was feeling ambitious so I gave this a shot. Here's what I changed: https://github.com/johnament/tomcat85/commit/a0281b2d4e0fea7cb0f7a9d3cd1e750b48498ff2 . I get some failed tests, but generallys eems good (I broke it earlier, and lots of things failed). [concat] Testsuites with failed tests: [concat] TEST-org.apache.catalina.session.TestStandardSessionIntegration.NIO.txt [concat] TEST-org.apache.catalina.session.TestStandardSessionIntegration.NIO2.txt [concat] TEST-org.apache.catalina.startup.TestHostConfigAutomaticDeployment.NIO.txt [concat] TEST-org.apache.catalina.startup.TestHostConfigAutomaticDeployment.NIO2.txt [concat] TEST-org.apache.catalina.tribes.group.TestGroupChannelMemberArrival.NIO.txt [concat] TEST-org.apache.catalina.tribes.group.TestGroupChannelMemberArrival.NIO2.txt [concat] TEST-org.apache.catalina.tribes.group.TestGroupChannelStartStop.NIO.txt [concat] TEST-org.apache.catalina.tribes.group.TestGroupChannelStartStop.NIO2.txt [concat] TEST-org.apache.catalina.tribes.group.interceptors.TestOrderInterceptor.NIO.txt [concat] TEST-org.apache.catalina.tribes.group.interceptors.TestOrderInterceptor.NIO2.txt [concat] TEST-org.apache.catalina.tribes.group.interceptors.TestTcpFailureDetector.NIO.txt [concat] TEST-org.apache.catalina.tribes.group.interceptors.TestTcpFailureDetector.NIO2.txt [concat] TEST-org.apache.tomcat.util.net.openssl.ciphers.TestCipher.NIO.txt [concat] TEST-org.apache.tomcat.util.net.openssl.ciphers.TestCipher.NIO2.txt [concat] TEST-org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser.NIO.txt [concat] TEST-org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser.NIO2.txt I'm wondering, can I publish local maven artifacts using the ant build? Would be good to see if this fixes or changes my behavior. John On Wed, Dec 14, 2016 at 12:22 PM Mark Thomas wrote: > On 14/12/2016 16:23, Christopher Schultz wrote: > > 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. > > ContainerBase. Look for uses of startStopThreads.# > > >> However... > > > > Even if this doesn't solve John's problem, I think it's worth doing. > > > > Comments? > > No objections. I'd thought about it previously but it wasn't an itch I > felt the urge to scratch. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --001a114231deea1b7a0543a9aa62--