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 BF0F944D8 for ; Wed, 25 May 2011 11:54:45 +0000 (UTC) Received: (qmail 39837 invoked by uid 500); 25 May 2011 11:54:41 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 39789 invoked by uid 500); 25 May 2011 11:54:41 -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 39780 invoked by uid 99); 25 May 2011 11:54:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 11:54:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 11:54:35 +0000 Received: from [192.168.245.129] (p549E8B1C.dip0.t-ipconnect.de [84.158.139.28]) by tor.combios.es (Postfix) with ESMTPA id E1CCE226127 for ; Wed, 25 May 2011 13:54:13 +0200 (CEST) Message-ID: <4DDCEDD8.6080105@ice-sa.com> Date: Wed, 25 May 2011 13:54:00 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Deploying tomcat 6.0.10 as a windows service References: <51D72D92B9F0C54CB80F19B0F79291B60655AE0649@SWDECGN0055.sqs.int> In-Reply-To: <51D72D92B9F0C54CB80F19B0F79291B60655AE0649@SWDECGN0055.sqs.int> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit arno.schaefer@sqs.de wrote: > 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