tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51208] New: SVN TRUNK : JDBC interceptor options are not taken into account
Date Tue, 17 May 2011 09:14:29 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51208

             Bug #: 51208
           Summary: SVN TRUNK : JDBC interceptor options are not taken
                    into account
           Product: Tomcat Modules
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: jdbc-pool
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: p.mouawad@ubik-ingenierie.com
    Classification: Unclassified


Created attachment 27013
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27013
Fix

Hello,
I added the following jdbcInterceptor:
org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx(threshold=100,
maxQueries=5000)

But options are not taken into account, what happens is that options are 
applied to the N-1 interceptor due to the Hard positionning of TrapException.


I provide the patch that fixes the issue.
Regards
Philippe Mouawad
http://www.ubik-ingenierie.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message