Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 43322 invoked from network); 15 Sep 2010 15:06:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Sep 2010 15:06:52 -0000 Received: (qmail 31494 invoked by uid 500); 15 Sep 2010 15:06:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 31072 invoked by uid 500); 15 Sep 2010 15:06:45 -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 31059 invoked by uid 99); 15 Sep 2010 15:06:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 15:06:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alecswan@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 15:06:39 +0000 Received: by yxs7 with SMTP id 7so144474yxs.18 for ; Wed, 15 Sep 2010 08:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=OqbI2UUt6+AbE9dNS1zpVqRbiWpsnRQf9jK6VCGoPK0=; b=QjnQHX9/MYNYCYn2BG4nuXV+dLMzG7JVSh1jdJZZLAU6Sd/YS3H6etbZWTQZnpIn+u 3+jYlbzzxy0D8n5nJ2fu5B2qEsTLm8D31ZC90UmH/XTviT887Nepf4jFkLRwJRy9hSsH 8PZL4cRkA6dGxZe3CSfZCT3N++TjnRM1JKSkk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RdZzKusp20x0p3cmodWQhPXhYUxgw8GvcW2UhzO06Ipnj4Z60bGYYEIBablefOS3ND +7OvPSMj/CRgjwzWco+RQSgCa/j1AxNu9HEkVLwLot2lBfAKRnoFyFCWSqW2B1GltkE9 KTOKcajIT6ZVthrLXE6i+jamSEUfIqENOPWA0= MIME-Version: 1.0 Received: by 10.103.219.5 with SMTP id w5mr109643muq.16.1284563178147; Wed, 15 Sep 2010 08:06:18 -0700 (PDT) Received: by 10.220.188.205 with HTTP; Wed, 15 Sep 2010 08:06:17 -0700 (PDT) Date: Wed, 15 Sep 2010 09:06:17 -0600 Message-ID: Subject: SOLVED: Virtual host deployment From: Alec Swan To: Tomcat Users List Content-Type: multipart/alternative; boundary=0016e649cee0ecd53704904dab94 --0016e649cee0ecd53704904dab94 Content-Type: text/plain; charset=ISO-8859-1 Thank you everybody for the answers. I am closing this thread. On Wed, Sep 15, 2010 at 8:27 AM, Christopher Schultz < chris@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Alec, > > On 9/14/2010 5:52 PM, Alec Swan wrote: > > The deployment scenario I would like to support requires deploying the > same > > WAR file on the development server first and then on the production > server. > > Development and production servers use different database credentials, so > I > > cannot package them in the WAR file itself. So, the database credentials > > should be stored somewhere in the server configuration. > > > > What is the recommended way to support this scenario? Is there any other > > place besides conf/context.xml where I can store server-specific DB > > credentials? > > Uh, uf my.war -C prod META-INF/context.xml > > ? > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkyQ18AACgkQ9CaO5/Lv0PBAFQCeJmvV+Gn0otTj0WWW1QAWUkXO > 9PMAn2GdeptWiY/7D2+oJal8P284xfXw > =JKMm > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --0016e649cee0ecd53704904dab94--