From users-return-268784-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Sat Nov 23 23:27:51 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6E176180656 for ; Sun, 24 Nov 2019 00:27:51 +0100 (CET) Received: (qmail 49879 invoked by uid 500); 23 Nov 2019 23:27:47 -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 49868 invoked by uid 99); 23 Nov 2019 23:27:47 -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; Sat, 23 Nov 2019 23:27:47 +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 A54431A3207 for ; Sat, 23 Nov 2019 23:27:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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-he-de.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Y5y59wY2gYuW for ; Sat, 23 Nov 2019 23:27:44 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::542; helo=mail-ed1-x542.google.com; envelope-from=behrangsa@gmail.com; receiver= Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 941137DD9E for ; Sat, 23 Nov 2019 23:27:43 +0000 (UTC) Received: by mail-ed1-x542.google.com with SMTP id t11so9180666eds.13 for ; Sat, 23 Nov 2019 15:27:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=cmsKVPBFYqD1NV/rl3HDu4pVdCd3nwe9zmCXZXTQlPs=; b=d8dXxEJ5htjEkMzktCHPPGzfs7vjmaPZpkEdAaTsEcdKgjXHFavkHygcfiy6dqWOkj jBdSZG30gcX6Cg8YrBPpAOuxrltCzOwYsQok4J9+OvBVlDP9Sp7g1GoTDQP8q092jJ2+ 5DqpME/EyTEwixDdCU4MZ/PmnXdrbast31nscxphm2Ay72NxFxR5wQaimPNekTS3nzAj eaahVyPe/Su1BqIB10YnXCifyMWuqMCywSjaeSJ1uGyhS9FhakGKRSYV9Lay42omCmjM N65MX4fPI19UIwK9rV/EAV5knV15Ivu8HZCNP4nJrr4YRDqi198fzFIvOjBQATFyOtl/ z1cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=cmsKVPBFYqD1NV/rl3HDu4pVdCd3nwe9zmCXZXTQlPs=; b=BkPLF4QX0iwkNn3RcoTm7mA9lMFXsysR70O7nc/qYnEuNSPGqP9/hFS6NXuGboDp/i 724iTLIpjB9NKM7K+TThYw4Sc8LJOES7zkC9jwfoCuY7FA24vTlPvjCFdjf5YdQnjQi2 B6nxbyH6gH/uI+N8p39ynMXUQDsU82whKPS8v8/mNIBn3WTiIGn7mdq85Kn7pgt+li53 u1pq1Q23wCZwX+mntS2mkHkdtcbdyhqutUCkcYTBjIPuMKbN8O4cgmW0sAK4JBtMwObX P4h0Pw35cmInBI95uRAukQDcBzPceElZHsV0FHeYtYHqpS68JJj+srrRpDDAKOkf9K0f 4JTA== X-Gm-Message-State: APjAAAUPsX6R2tF6QEO1bjiX5jUGyqUMQCs0mc9qdoH4EtfT7wtfrW9O JQB8S9rjDKrfSSzd0cGq8OJaypNROBcj8VsQpG7gt3zr X-Google-Smtp-Source: APXvYqzpuEJoXRVVTVIs8H0wGAgiUCix+ZFDouPUDavRZXr49TWaCIZykRqAh48aEOgm9E426dGzPLdln+7Z1tinyKM= X-Received: by 2002:a50:ac3c:: with SMTP id v57mr9106589edc.300.1574551662726; Sat, 23 Nov 2019 15:27:42 -0800 (PST) MIME-Version: 1.0 References: <5654ec77-34e2-765c-50e7-db795ac15807@apache.org> In-Reply-To: <5654ec77-34e2-765c-50e7-db795ac15807@apache.org> From: Behrang Saeedzadeh Date: Sun, 24 Nov 2019 10:27:06 +1100 Message-ID: Subject: Re: Official documentation for running an embedded Tomcat server To: Tomcat Users List Content-Type: multipart/alternative; boundary="00000000000089945e05980be02f" --00000000000089945e05980be02f Content-Type: text/plain; charset="UTF-8" I will create a PR if I find the time to write one. On Sat, Nov 23, 2019 at 9:40 PM Mark Thomas wrote: > On 23/11/2019 08:17, Behrang Saeedzadeh wrote: > > Hi all, > > > > Are there any official docs for how to run Tomcat as an embedded server? > > Searching returns some results such as > > > https://devcenter.heroku.com/articles/create-a-java-web-application-using-embedded-tomcat > > but I haven't seen any official docs. > > > > Are there any? > > http://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/catalina/startup/Tomcat.html > > is the closest thing we have but I suspect parts of it are out of date. > The unit tests are a good source of samples of how to use it. > > Care to contribute a how-to page for the docs? > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --00000000000089945e05980be02f--