Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 81636 invoked from network); 15 Dec 2008 15:39:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 15:39:38 -0000 Received: (qmail 87394 invoked by uid 500); 15 Dec 2008 15:39:43 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 87343 invoked by uid 500); 15 Dec 2008 15:39:43 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 87332 invoked by uid 99); 15 Dec 2008 15:39:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 07:39:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.22.94.67] (HELO virtual.halosg.com) (72.22.94.67) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 15:39:21 +0000 Received: (qmail 17508 invoked from network); 15 Dec 2008 09:39:00 -0600 Received: from 72-19-171-38.static.mesanetworks.net (HELO ?192.168.3.131?) (72.19.171.38) by halosg.com with SMTP; 15 Dec 2008 09:39:00 -0600 Message-ID: <49467A13.9090002@hanik.com> Date: Mon, 15 Dec 2008 08:38:59 -0700 From: Filip Hanik - Dev Lists User-Agent: Thunderbird 2.0.0.18 (X11/20081119) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: tomcat-jdbc issue References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hi Kevin, Are you sure that is all you see in your logs. We try to not swallow any error, and there should be more information. Adding logging is not an issue, we can do that fairly easily. However, the trace you show us, is not the entire story, there is more, you can ping me on email fhanik at apache dot org, if you want me to deliver you a jar with logging enabled to track this down, best Filip Kevin Jackson wrote: > Hi, > > I'm using the new tomcat-jdbc connection pool with tomcat-6.0.18 on > windows server 2003 and SQL Server 2000 with the jtds driver > > Sometimes when the db server is under heavy load, the following > exception is thrown: > > root cause > > java.lang.reflect.InvocationTargetException > sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:585) > org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:78) > $Proxy1.prepareStatement(Unknown Source) > > This seems to be intermittent and I think it may be related to the > load on the db server (which we have problems with all the time). > > Given that this is using reflection, I know it won't be as easy to add > logging etc to determine the cause, but is there a suggested tweak to > either this class or another class in the package that could aid in > confirming my suspicions that this is related to db load/network > timeouts etc. > > Apart from this issue, this pool is as good as commons-dbcp and is a > great drop-in replacement > > Thanks, > Kev > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org