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 F0662DF4E for ; Thu, 20 Sep 2012 11:14:22 +0000 (UTC) Received: (qmail 15371 invoked by uid 500); 20 Sep 2012 11:14:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 15316 invoked by uid 500); 20 Sep 2012 11:14:19 -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 15272 invoked by uid 99); 20 Sep 2012 11:14:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 11:14:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [129.184.85.11] (HELO odin2.bull.net) (129.184.85.11) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 11:14:10 +0000 Received: from MSGC-002.bull.fr (MSGC-002.frcl.bull.fr [129.184.87.130]) by odin2.bull.net (Bull S.A.) with ESMTP id EBD371C14C for ; Thu, 20 Sep 2012 13:13:49 +0200 (CEST) MIME-Version: 1.0 Importance: Normal X-Priority: 3 (Normal) In-Reply-To: References: Subject: Re: Setting JVM Parameters in Windows Service for Tomcat7 X-Disclaimed: 1 From: jean-louis.mateo@bull.net To: users@tomcat.apache.org Message-ID: Date: Thu, 20 Sep 2012 13:13:49 +0200 X-Mailer: Lotus Domino Web Server Release 8.5.2FP1 November 29, 2010 X-MIMETrack: Serialize by HTTP Server on MSGC-002/SRV/BULL(Release 8.5.2FP1|November 29, 2010) at 20/09/2012 13:13:49, Serialize complete at 20/09/2012 13:13:49, Itemize by HTTP Server on MSGC-002/SRV/BULL(Release 8.5.2FP1|November 29, 2010) at 20/09/2012 13:13:49, Serialize by Router on MSGC-002/SRV/BULL(Release 8.5.2FP1|November 29, 2010) at 20/09/2012 13:13:49 Content-Type: multipart/alternative; boundary="=_alternative 003DB0A9C1257A7F_=" --=_alternative 003DB0A9C1257A7F_= Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Hi Matthias, Mikolaj is right, you can set the tomcat and java properties by running tom= catw.exe (%CATALINA=5FHOME%\bin) Hope this helps Jean-Louis -----Matthias M=FCller a =E9crit : -----=20 A : users@tomcat.apache.org De : Matthias M=FCller Date : 20/09/2012 11:57 Objet : Setting JVM Parameters in Windows Service for Tomcat7 Hi, I want to set JVM Parameters in a Windows Service (Windows7) for Tomcat7 (7.0.30) The documentation tells, that this could be done by calling "tomcat7 //US//Tomcat7 ..." This method works, but it is not practicable for our production environment, because these settings are stored in the registry. Is it possible to specify these parameters in setenv.bat or somewhere else? When I start tomcat with "catalina.bat run" the setenv.bat is read. But when I start tomcat as a windows service the setenv.bat is ignored. Matthias --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --=_alternative 003DB0A9C1257A7F_=--