Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 61977 invoked from network); 23 Mar 2005 17:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Mar 2005 17:22:11 -0000 Received: (qmail 65178 invoked by uid 500); 23 Mar 2005 17:20:13 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 65107 invoked by uid 500); 23 Mar 2005 17:20:12 -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 65045 invoked by uid 99); 23 Mar 2005 17:20:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mh2.cvf.fr (HELO mh2.cvf.fr) (213.56.76.234) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 23 Mar 2005 09:20:09 -0800 Received: from [10.33.99.113] (helo=ms.int33.cvf) by mh2.cvf.fr with esmtp for id 1DE8tu-0007gM-00; Wed, 23 Mar 2005 17:40:10 +0100 Received: from [127.0.0.1] (helo=cocarde2.dev33.cvf) by ms.int33.cvf with smtp id 1DE8tt-00068A-00 for ; Wed, 23 Mar 2005 17:40:09 +0100 Date: Wed, 23 Mar 2005 17:40:05 +0100 From: Lionel Farbos To: tomcat-user@jakarta.apache.org Subject: HELP: How the DBCP works ? (and the JMXProxy) Message-Id: <20050323174005.627357fb.lionel.farbos@free.fr> Organization: free X-Mailer: Sylpheed version 1.0.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-complaints-to: abuse@cvf.fr X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all (tomcat 5.5 developers), In my context.xml, I use a DataSource like this : So, I suppose the dataSource.getConnection() is taken from DataBase Connection Pool... 1- But How do this works ? 2- If all my contexts have their own DataSource, each context have their own Pool ? 3- How Do I Manage these Pools ? I'd want to test with the JMX Proxy but I don't succeed in the good URL for asking the only MBean I'm interested in... I test : http://localhost:8080/manager/jmxproxy/?get=%3Atype=RequestProcessor%3C I have a section with the desired MBean : Name: Catalina:type=DataSource,path=/myContext,host=localhost,class=javax.sql.DataSource,name="myDB" But I don't succeed with : http://localhost:8080/manager/jmxproxy/?get=Catalina%3Atype%3DDataSource%2Cpath%3D/myContext%2Chost%3Dlocalhost%2Cclass%3Djavax.sql.DataSource%2Cname%3D%22myBD%22%3C&att=maxActive ... or something like this... I need help, please. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org