Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 74358 invoked from network); 11 Jan 2005 16:15:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jan 2005 16:15:02 -0000 Received: (qmail 42865 invoked by uid 500); 11 Jan 2005 16:14:46 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 42567 invoked by uid 500); 11 Jan 2005 16:14:45 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 42553 invoked by uid 99); 11 Jan 2005 16:14:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of andy.kriger@gmail.com designates 64.233.184.203 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.203) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 08:14:44 -0800 Received: by wproxy.gmail.com with SMTP id 40so740659wri for ; Tue, 11 Jan 2005 08:14:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=rUg+c/9wMSGpxFZH4shA5Fsl/xUYfGet1Wv4irvNBa8RRzN9LrA8ttwODfhPcXT/vT0MadrJ4ojwz36AwWQ+voYlH9FQVcHXG7vPDp/hJKDYKG8RUO6Lwhec5yA6umJdzVe6BvECJbfiRgiQm9x1pmvyh9d7D9vnyOnyS9Pc5Gw= Received: by 10.54.20.45 with SMTP id 45mr62268wrt; Tue, 11 Jan 2005 08:14:41 -0800 (PST) Received: by 10.54.19.76 with HTTP; Tue, 11 Jan 2005 08:14:41 -0800 (PST) Message-ID: <207fa8f05011108142711d325@mail.gmail.com> Date: Tue, 11 Jan 2005 11:14:41 -0500 From: Andy Kriger Reply-To: Andy Kriger To: tomcat-user@jakarta.apache.org Subject: resource-ref question Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm coming to Tomcat 5.5 from greater experience with Resin. I am setting up a JDBC connection pool. No problems there, I have a META-INF/context.xml file with a Resource element in the Context block. What is strange is that I do not need a resource-ref element in the web.xml; my connection pool works fine without it. I see in the docs on the Context config element that Resource and resource-ref are equivalent so I guess that makes sense. What I wonder about is portability - this is locked into Tomcat's way of doing things. Is there a generic way to define connection pools (or a more generic way since I'm guessing there's always going to be some container-specific config). thx andy --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org