Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 41722 invoked from network); 29 Jan 2003 11:23:10 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 29 Jan 2003 11:23:10 -0000 Received: (qmail 6788 invoked by uid 97); 29 Jan 2003 11:24:48 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 6780 invoked from network); 29 Jan 2003 11:24:48 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 29 Jan 2003 11:24:48 -0000 Received: (qmail 39738 invoked by uid 500); 29 Jan 2003 11:22:44 -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 39727 invoked from network); 29 Jan 2003 11:22:44 -0000 Received: from moutng.kundenserver.de (212.227.126.177) by daedalus.apache.org with SMTP; 29 Jan 2003 11:22:44 -0000 Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 18dqIz-00062U-00 for tomcat-user@jakarta.apache.org; Wed, 29 Jan 2003 12:22:57 +0100 Received: from [217.227.98.200] (helo=prox.folgmann.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 18dqIz-0002Pz-00 for tomcat-user@jakarta.apache.org; Wed, 29 Jan 2003 12:22:57 +0100 Received: from folgmann.de (unknown [192.168.41.2]) by prox.folgmann.de (Postfix) with ESMTP id 642CA1BA51 for ; Wed, 29 Jan 2003 12:22:52 +0100 (CET) Message-ID: <3E37B98B.6020607@folgmann.de> Date: Wed, 29 Jan 2003 12:22:51 +0100 From: Boris Folgmann Organization: Folgmann IT-Consulting User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2; MultiZilla v1.1.32 final) Gecko/20021207 X-Accept-Language: de-DE, de, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Can the JNDI Connection Pool re-connect after failure? References: <3E36B63E.30503@folgmann.de> <3E379A1B.1020201@ev.co.yu> In-Reply-To: <3E379A1B.1020201@ev.co.yu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Nikola Milutinovic wrote: > I believe that if you set up "connection verification query" in your DataSource > definition in server.xml it will reconnect. Haven't tried it, though. Do you know that it was made for this purpose or are you simpley guessing from the Javavdoc? -------------------------------------------------------------------------- protected java.lang.String validationQuery The SQL query that will be used to validate connections from this pool before returning them to the caller. If specified, this query MUST be an SQL SELECT statement that returns at least one row. --------------------------------------------------------------------------- cu, boris -- Dipl.-Inf. Boris Folgmann mailto:boris@folgmann.de Folgmann IT-Consulting http://www.folgmann.de --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org