On Tue, 22 Oct 2002, Michael Bowman wrote:
> Date: Tue, 22 Oct 2002 10:34:35 -0400 > From: Michael Bowman <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Can I have multiple JNDI references to the same connection pool? > > Does anyone know whether I can make multiple, different JNDI references > to the same connection pool? I am using DBCP for the pooling. Thanks. > You can do this, but only in Tomcat 4.1.x (not 4.0.x). The basic idea is to put your connection pool definition in the <GlobalNamingResources> section of server.xml, and then create a <ResourceLink> element nested inside the <Context> element for each web application that should share the same connection pool. > Michael Bowman > Craig -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>