Return-Path: X-Original-To: apmail-karaf-user-archive@minotaur.apache.org Delivered-To: apmail-karaf-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D5F2189D9 for ; Wed, 19 Aug 2015 19:58:32 +0000 (UTC) Received: (qmail 34755 invoked by uid 500); 19 Aug 2015 19:58:32 -0000 Delivered-To: apmail-karaf-user-archive@karaf.apache.org Received: (qmail 34712 invoked by uid 500); 19 Aug 2015 19:58:32 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 34702 invoked by uid 99); 19 Aug 2015 19:58:31 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2015 19:58:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 83655182102 for ; Wed, 19 Aug 2015 19:58:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=basistech.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id cxTCUPQJSiqt for ; Wed, 19 Aug 2015 19:58:16 +0000 (UTC) Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id ABFE6205B4 for ; Wed, 19 Aug 2015 19:58:16 +0000 (UTC) Received: by obbhe7 with SMTP id he7so14080585obb.0 for ; Wed, 19 Aug 2015 12:58:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basistech.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HN/e4iEsdBtTu0upd/lGK8e7REoFKonIcDrQ6X/9A4g=; b=WJjsykKAiiLHFiLUags/xKh3ddZN7uc4kCQkIMRHJdPJzFFiFLO9V+XfI+vN8D7My7 SYINw5XRn+uEDn783k1WuLJYK8x2tmiUwANfOaXpouq915eIZpLNMT8y1zxmAXDw3v9v GGIppBMCh1j+kjjOIipqu7ZZhfmEQ0J8Gsr+g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=HN/e4iEsdBtTu0upd/lGK8e7REoFKonIcDrQ6X/9A4g=; b=X9cstA6nE+oCO/59IJzofvqSTejBkKe7LQ9Npdn8pG+tgltRcI4JiYIjVhFKa9rmK1 byWPC9SHusgrtrP7auPHZVQwp/w6poVZDvuM3W+/bzoz3HxZsgMLJqmFdsbEzeK3iCav lIgJfYitbvUW/cdAT4P8EXdX/0J2HmprueUv/qbEITATlVYK5h9psBb9piMQy9YjXNYD TOmz+xAO51Zc/SGzWohZgMHhdkb5QZvWt0LX9j5VEJHDAuZmpXfcesn1Tci+bXucaI8W J4j5Ur/0tmy4TJ7ClOxscq4DAl+EefjEHje4kItM1vai9oux93Uim1hZ9OzLoSD/qP5W nG0w== X-Gm-Message-State: ALoCoQkLRaABEbaqt8h/g7CSF822I4XLEwT/4mwFdEWhVwjRFThYW1Ezg7AC/ce+KCWiXfXQiREw MIME-Version: 1.0 X-Received: by 10.60.48.102 with SMTP id k6mr8637352oen.43.1440014289859; Wed, 19 Aug 2015 12:58:09 -0700 (PDT) Received: by 10.76.150.134 with HTTP; Wed, 19 Aug 2015 12:58:09 -0700 (PDT) In-Reply-To: References: Date: Wed, 19 Aug 2015 15:58:09 -0400 Message-ID: Subject: Re: Using config admin to configure jetty (or tomcat?) From: Benson Margulies To: user@karaf.apache.org Content-Type: text/plain; charset=UTF-8 So, there's https://karaf.apache.org/manual/latest/users-guide/webcontainer.html, which shows a jetty.xml with an 'acceptors' parameter, not a min and max threads. Is that page obsolete, or more up to date than the page that led me towards: 10 200 60000 false On Tue, Aug 18, 2015 at 3:06 PM, Achim Nierbeck wrote: > no, it will work for both servers, it's just undertow that works > differently. > > regards, Achim > > 2015-08-18 21:03 GMT+02:00 Benson Margulies : >> >> OK, so if I pull in tomcat, I can configure the thread pool size with >> config admin, but if I stick to Jetty, I am stuck to XML. >> >> >> On Tue, Aug 18, 2015 at 2:52 PM, Achim Nierbeck >> wrote: >> > Hi Benson, >> > >> > in the manual [1] you can see the configurable properties. >> > And we also had some improvement for configuring threads for the http >> > service with 6 an 4.2 [2]. >> > >> > regards, Achim >> > >> > [1] - >> > >> > http://ops4j.github.io/pax/web/SNAPSHOT/index.html#Configuration-ConfigurationviaOSGiConfigurationAdminService >> > [2] - https://ops4j1.jira.com/browse/PAXWEB-868 >> > >> > 2015-08-18 19:06 GMT+02:00 Benson Margulies : >> >> >> >> I am wishing to use config admin, rather than messing around with >> >> entire XML files in the file system or in bundles, to configure the >> >> number of worker threads for the HTTP service. Is there a way? >> > >> > >> > >> > >> > -- >> > >> > Apache Member >> > Apache Karaf Committer & PMC >> > OPS4J Pax Web Committer >> > & >> > Project Lead >> > blog >> > Co-Author of Apache Karaf Cookbook >> > >> > Software Architect / Project Manager / Scrum Master >> > > > > > > -- > > Apache Member > Apache Karaf Committer & PMC > OPS4J Pax Web Committer & > Project Lead > blog > Co-Author of Apache Karaf Cookbook > > Software Architect / Project Manager / Scrum Master >