Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7BAEF40D8 for ; Wed, 25 May 2011 14:42:09 +0000 (UTC) Received: (qmail 13518 invoked by uid 500); 25 May 2011 14:42:06 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 13331 invoked by uid 500); 25 May 2011 14:42:06 -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 13322 invoked by uid 99); 25 May 2011 14:42:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 14:42:05 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.12.242.2] (HELO smtp6.freeserve.com) (80.12.242.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 14:41:57 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3j27.me.freeserve.com (SMTP Server) with ESMTP id 6C7823000B31 for ; Wed, 25 May 2011 16:41:36 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3j27.me.freeserve.com (SMTP Server) with ESMTP id 602D63000B35 for ; Wed, 25 May 2011 16:41:36 +0200 (CEST) Received: from mail.homeinbox.net (unknown [2.29.16.173]) by mwinf3j27.me.freeserve.com (SMTP Server) with ESMTP id 49F153000B31 for ; Wed, 25 May 2011 16:41:36 +0200 (CEST) X-ME-UUID: 20110525144136302.49F153000B31@mwinf3j27.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by mail.homeinbox.net (Postfix) with ESMTP id EC3F0EAAABA for ; Wed, 25 May 2011 15:41:35 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mail.homeinbox.net ([127.0.0.1]) by localhost (mail.homeinbox.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GA9zgEF784cB for ; Wed, 25 May 2011 15:41:18 +0100 (BST) Received: from s2laptop.local (unknown [82.132.136.157]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.homeinbox.net (Postfix) with ESMTPSA id BD06BEAAAB6 for ; Wed, 25 May 2011 15:41:17 +0100 (BST) Message-ID: <4DDD1503.9020700@apache.org> Date: Wed, 25 May 2011 16:41:07 +0200 From: Mark Thomas User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: AW: Deploying tomcat 6.0.10 as a windows service References: <51D72D92B9F0C54CB80F19B0F79291B60655AE0649@SWDECGN0055.sqs.int> <4DDCEDD8.6080105@ice-sa.com> <51D72D92B9F0C54CB80F19B0F79291B60655AE064A@SWDECGN0055.sqs.int> In-Reply-To: <51D72D92B9F0C54CB80F19B0F79291B60655AE064A@SWDECGN0055.sqs.int> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 25/05/2011 15:07, arno.schaefer@sqs.de wrote: > Hi Andre, > > that it is allowed to use any character, I want to use in windows, > I know. Quoting the command and/or the service name doesn't help. > > But at least it seem's that it is nowhere described what a valid > service name is for tomcat. So I will find out by trail and error. Look in the commons daemon docs. From memory it is limited to alphanumeric. I'd just use names in camel case. Mark > > Thanks, > Arno > >>> Hi all, >>> >>> if I confiure an instance of tomcat as a windows service, I have to >>> give this instance a unique name (tomcat6 //IS//servicename >> {params ...}). >>> What signs are at least allowed in this name? It seems that >> dashes and >>> under- scores are not allowed. What delimiter are possible >> to make the name readable. >>> >>> Background: I want to automate the creation of this services with >>> context dep- ending information and have to configure more than one >>> instance of a tomcat service. >>> >> There are possiby 2 parts to this. >> >> Part 1 : what Windows itself will accept as a Service name. >> >> The only clear info on that subject which I could find >> quickly is here : >> http://msdn.microsoft.com/en-us/library/ms682450%28v=vs.85%29.aspx >> which seems to exclude just "/" and "\". >> >> Part 2 : what the Windows command interpreter shell (cmd) >> does with your command line >> >> tomcat6 //IS//servicename {params ...} >> >> Have you tried putting "servicename" between quotes ? >> >> In a different context, I remember finding out that Netbios >> "system names" or "share names" do not admit "-" signs in >> them for instance (and maybe also not "_"). >> Maybe since a Service name may be used in Netbios sometimes, >> the same rules apply ? >> (just guessing). > > > --------------------------------------------------------------------- > 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