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 22D529DDD for ; Wed, 11 Jan 2012 15:58:46 +0000 (UTC) Received: (qmail 2571 invoked by uid 500); 11 Jan 2012 15:58:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 2468 invoked by uid 500); 11 Jan 2012 15:58: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 2459 invoked by uid 99); 11 Jan 2012 15:58:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 15:58:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pid@pidster.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 15:58:34 +0000 Received: by wgbdt11 with SMTP id dt11so1606936wgb.0 for ; Wed, 11 Jan 2012 07:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pidster.com; s=google; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:openpgp :content-type; bh=itE3UwoUEwzFIPrgNAcJqj0ru3jKhzEhODwqku4BkWs=; b=gJWTJQ0G94btYbLKpnMGVbnI5vTYwUsX9FIsOR9vfP4VpsvIcEI+h5b2mAvkntNAyU Kno7WTEgJOyxCY306oz7k5qW8k25IyAPPvTQScXGu1pj3rUdypmB6XfPWmx4gjsBJE97 0iGTWL5fHZzjEmqDqpaheWEGWcY+hlQiSgV0U= Received: by 10.180.94.97 with SMTP id db1mr43481564wib.16.1326297493382; Wed, 11 Jan 2012 07:58:13 -0800 (PST) Received: from Asura.local (host81-134-72-20.in-addr.btopenworld.com. [81.134.72.20]) by mx.google.com with ESMTPS id fq7sm2228016wbb.1.2012.01.11.07.58.11 (version=SSLv3 cipher=OTHER); Wed, 11 Jan 2012 07:58:12 -0800 (PST) Message-ID: <4F0DB191.9070601@pidster.com> Date: Wed, 11 Jan 2012 15:58:09 +0000 From: Pid Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Context configuration file References: <4F0DB018.2010903@pidster.com> In-Reply-To: X-Enigmail-Version: 1.3.4 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigA9866C46E9CD502596C76607" --------------enigA9866C46E9CD502596C76607 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/01/2012 15:53, Thom Hehl wrote: > 7.0.8 >=20 > This is the configuration file in conf/Catalina/localhost and shares th= e > name of my webapp. Please don't top-post. > -----Original Message----- > From: Pid [mailto:pid@pidster.com]=20 > Sent: Wednesday, January 11, 2012 10:52 AM > To: Tomcat Users List > Subject: Re: Context configuration file >=20 > On 11/01/2012 13:01, Thom Hehl wrote: >> We are using a context configuration file to provide our database=20 >> connectivity through a JNDI entry to our application so that the file = >> can change without the purchasers of our software having to tinker=20 >> about with it internally. Here is our file: >=20 > Which version of Tomcat is this? >=20 > Which file is this? >=20 >=20 > p >=20 >> > crossContext=3D"true"> The attributes path and debug are not valid here. The file should be called chronicle.xml and the context takes its name from the file. >> > prefix=3D"ej-Log." suffix=3D".txt" timestamp=3D"true"/> Logger is no longer a valid element. p >> > auth=3D"Container" >> type=3D"javax.sql.DataSource" >> username=3D"sa" >> password=3D"xxxxxxx" >> driverClassName=3D"net.sourceforge.jtds.jdbc.Driver"=20 >> url=3D"jdbc:jtds:sqlserver://localhost/PsDb" >> maxActive=3D"-1" >> maxIdle=3D"0" >> /> >> >> >> >> =20 >> >> I picked this trick up from a predecessor on a job and have never=20 >> found it documented anywhere. I would like to use the same approach to= >=20 >> define JNDI keys for the mail server. Can someone help? >> >> =20 >> >> Thanks. >> >> =20 >> >> >=20 >=20 --=20 [key:62590808] --------------enigA9866C46E9CD502596C76607 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJPDbGSAAoJEGoM2OGpOvr9ofcP/01MKma8ESAe46mnx8aI8tRc 4FcpPQtXcShRphKgm3XMma3zbpDmG8NWfyLOtggQvvKx+01w2RH9LWd+GbuQ1UFe 3LSC1B7mJIfn1ISRGSg+JbtDmY4ib/E2MzEfDkg+iLtB1ULR7pZiHVDns+oAT7iR H12atL0BoF20kVsnVnkonzZnq/6hn2Ozju//rrkFqNyixXvlQu7Hhs+8jJDRYPT+ b9pyvOrcdfrg4OGWhmqqm/2zhoQWj/3ZJWYIHGs5FzktMdac0TBG/+jgLx1hqgTg P4No/Dc4EA3qsAXlnB8tnq470tkApT/Wb6G1ANnkbq//IVir+qxG4wrwgmBVGEOh qa2dV+WwDc4XUnNx2Ly6wOnnXjkXRvSvoFxM5zb4EHzEahqqr+kcfdETofZZMqqH cSfWby2KHJb8/jCxxfSzwviIGFPk5Ov0A5EAj7SsgI4yWMPo0JDq6UrsPcXU9lKJ dgRvPIjo4Mg24/71hDixqCOCZ8p/psGJU/gNLhq2VPmbwf2aI6qBAxHK05vL46fW 1adR9PB95KDh1HNPehqTuI/r8GznTLyYFsdEDK1GWxIHZCU33APhIpGaalWbbcOa bkx76RRWlhwdgZNUYMmvXTuCBOqQDfK2MIvEcc2eGCcSfTPnRxl14tFMcuCbOVmy BrIps+qPLwDg5gRZ2T9g =l0XM -----END PGP SIGNATURE----- --------------enigA9866C46E9CD502596C76607--