Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 19668 invoked from network); 13 Aug 2008 16:25:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2008 16:25:50 -0000 Received: (qmail 60463 invoked by uid 500); 13 Aug 2008 16:25:38 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 60435 invoked by uid 500); 13 Aug 2008 16:25:38 -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 60424 invoked by uid 99); 13 Aug 2008 16:25:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 09:25:37 -0700 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.128] (HELO smtp5.freeserve.com) (193.252.22.128) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 16:24:41 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3418.me.freeserve.com (SMTP Server) with ESMTP id A80151C0008A for ; Wed, 13 Aug 2008 18:25:07 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [91.109.134.218]) by mwinf3418.me.freeserve.com (SMTP Server) with ESMTP id 2A4111C00087 for ; Wed, 13 Aug 2008 18:25:04 +0200 (CEST) X-ME-UUID: 20080813162504173.2A4111C00087@mwinf3418.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id D8B40112090 for ; Wed, 13 Aug 2008 17:16:47 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server02.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3hCY9oPPgIZ6 for ; Wed, 13 Aug 2008 17:16:41 +0100 (BST) Received: from [192.168.0.4] (study01.dev.local [192.168.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id 4E7F4112046 for ; Wed, 13 Aug 2008 17:16:41 +0100 (BST) Message-ID: <48A30AD4.4080201@apache.org> Date: Wed, 13 Aug 2008 17:24:52 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to set jvmRoute outside of server.xml References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Bill Shaffer wrote: > Hi: > > I am trying to find a way to set the jvmRoute without putting it in my server.xml. I'm using 6.0.18. I've found a couple of things: > > The Tomcat config reference System Properties section says I can set it on the java command line with a -DjvmRoute option. This did not work. > > Another source on the web said that I could set a -D option on the command line and then reference that as a variable within server.xml (java ... -Doption=value ..., and then in server.xml, jvmRoute="${option}". This did not work either. Given that both these options should work, it sounds like you are not setting JAVA_OPTS properly. How are you setting this at the moment? Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org