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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to