Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 97325 invoked from network); 3 Mar 2008 21:09:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2008 21:09:14 -0000 Received: (qmail 7116 invoked by uid 500); 3 Mar 2008 21:09:00 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 7097 invoked by uid 500); 3 Mar 2008 21:09:00 -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 7086 invoked by uid 99); 3 Mar 2008 21:09:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 13:08:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.26.194.27] (HELO server3.software-ag.de) (193.26.194.27) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 21:08:14 +0000 Received: from server3.software-ag.de (localhost [127.0.0.1]) by localhost.software-ag.de (Postfix) with ESMTP id AD7EF7D448 for ; Mon, 3 Mar 2008 22:08:36 +0100 (CET) Received: from DAEMSG03.eur.ad.sag (daemsg03b.eur.ad.sag [10.22.90.62]) by server3.software-ag.de (Postfix) with ESMTP id 9EF747D445 for ; Mon, 3 Mar 2008 22:08:36 +0100 (CET) Received: from resmsg04.AME.ad.sag ([10.128.48.240]) by DAEMSG03.eur.ad.sag with Microsoft SMTPSVC(6.0.3790.3959); Mon, 3 Mar 2008 22:08:34 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Getting the URL of a DataSource Date: Mon, 3 Mar 2008 16:08:06 -0500 Message-ID: In-Reply-To: <47CC2F7F.1020309@christopherschultz.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Getting the URL of a DataSource Thread-Index: Ach9UK3km1sxxGdvSHK+h84mITk5DAAH8RGw References: <15808317.post@talk.nabble.com> <47CC2F7F.1020309@christopherschultz.net> From: "Katilie, John" To: "Tomcat Users List" X-OriginalArrivalTime: 03 Mar 2008 21:08:34.0165 (UTC) FILETIME=[BDA72250:01C87D72] X-Virus-Checked: Checked by ClamAV on apache.org All, this may be a dumb question but I've exhausted my research and just wondering what other users out there are doing. I would like to get the URL for a DataSource to display for debugging and/or Informational reasons. I know I can get the URL after I get the DataSource and get a connection from the connection metadata. My problem is what if the Connection fails? It seems without the connection I can not get the URL for the DataSource.=20 This is an application running under Tomcat 6.0.14. I guess I could get the URL from the JMX DataSource objects created by Tomcat (I can see them with jconsole). But is there another way? Am I missing something? I hope this question makes sense... Thanks for any and all comments. Regards, John. =20 --------------------------------------------------------------------- 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