Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79367 invoked from network); 23 Oct 2007 16:47:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 16:47:15 -0000 Received: (qmail 38580 invoked by uid 500); 23 Oct 2007 16:46:52 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 38203 invoked by uid 500); 23 Oct 2007 16:46:51 -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 38192 invoked by uid 99); 23 Oct 2007 16:46:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 09:46:51 -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 [204.127.192.83] (HELO rwcrmhc13.comcast.net) (204.127.192.83) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 16:46:53 +0000 Received: from [192.168.1.101] (c-68-50-0-179.hsd1.va.comcast.net[68.50.0.179]) by comcast.net (rwcrmhc13) with ESMTP id <20071023164556m1300brvgue>; Tue, 23 Oct 2007 16:45:56 +0000 Message-ID: <471E2540.8010309@christopherschultz.net> Date: Tue, 23 Oct 2007 12:45:52 -0400 From: Christopher Schultz User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Unit Testing DataSourceRealm References: In-Reply-To: X-Enigmail-Version: 0.95.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin, Kevin Jackson wrote: > with the DataSourceRealm, I cannot > create an InitialContext without either using the tomcat container > itself (a bit of overkill for a unit test), or using suns fscontext, > but that doesn't even seem to be available (certainly not via any m2 > repos) Why not just write your own class that extends InitialContext and does whatever it wants? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHHiVA9CaO5/Lv0PARAux7AKCX0i6BMNsm4NWv2iYK8ENY3dmncACbB2ba /Mp4kZ3YV8dHrvxp+lBbMzg= =Z12J -----END PGP SIGNATURE----- --------------------------------------------------------------------- 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