From users-return-191452-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Tue Feb 10 11:53:03 2009 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 5611 invoked from network); 10 Feb 2009 11:53:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 11:53:03 -0000 Received: (qmail 74211 invoked by uid 500); 10 Feb 2009 11:50:43 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 74189 invoked by uid 500); 10 Feb 2009 11:50:43 -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 74176 invoked by uid 99); 10 Feb 2009 11:50:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 03:50:42 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.151] (HELO smtp6.freeserve.com) (193.252.22.151) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 11:50:34 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3531.me.freeserve.com (SMTP Server) with ESMTP id 47F921C00084 for ; Tue, 10 Feb 2009 12:50:09 +0100 (CET) Received: from smtp.homeinbox.net (unknown [91.109.142.188]) by mwinf3531.me.freeserve.com (SMTP Server) with ESMTP id 260CF1C00081 for ; Tue, 10 Feb 2009 12:50:09 +0100 (CET) X-ME-UUID: 20090210115009156.260CF1C00081@mwinf3531.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id F0A541A42D7 for ; Tue, 10 Feb 2009 11:50:07 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QAdOQ0Bpih-p for ; Tue, 10 Feb 2009 11:49:56 +0000 (GMT) Received: from macbook.local (unknown [213.1.210.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id 3AD601A40B2 for ; Tue, 10 Feb 2009 11:49:56 +0000 (GMT) Message-ID: <499169DE.10908@apache.org> Date: Tue, 10 Feb 2009 11:49:50 +0000 From: Mark Thomas User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Simple Tomcat 6, servlet tutorial. First draft for comment References: <711a73df0902080445k726b5938l55cd1028da26453f@mail.gmail.com> <4990E0A0.5070805@hanik.com> <711a73df0902100339n22a2c20dredc84ebe6d9e518a@mail.gmail.com> In-Reply-To: <711a73df0902100339n22a2c20dredc84ebe6d9e518a@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dave Pawson wrote: > 2009/2/10 Filip Hanik - Dev Lists : >> What benefit do you get from running it with JSVC, vs just writing a simple >> script into /etc/init.d/ to manage it yourself? > > It was offered. I went to the trouble of amending it to make it work. > I do manage it myself? How would another script in init.d help? The main use of jsvc is to bind to port <1025 (usually 80 and 443) but run as a non-privileged user. If you aren't listening on a port <1025 then you probably don't need it. Mark > > regards > > >> Filip >> >> Dave Pawson wrote: >>> http://www.dpawson.co.uk/tomcat >>> >>> Any feedback/improvements appreciated. Particularly any errors. >>> >>> Meant as a simple example of getting a first servlet working, based on >>> help I received from this list. >>> >>> >>> regards >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org