https://issues.apache.org/bugzilla/show_bug.cgi?id=55368

            Bug ID: 55368
           Summary: Default Tomcat install is no longer auto-registering
                    JDBC type 4 drivers
           Product: Tomcat 6
           Version: 6.0.36
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: mw...@loftware.com

Created attachment 30681
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30681&action=edit
Reproduction Case

Type 4 JDBC drivers included in ${CATALINA_HOME}/lib, or the CLASSPATH in
general, should be auto-registered so that they can be loaded the first time
they are accessed.  This works up through Tomcat 6.0.33.  It does not work in
Tomcat 6.0.35; only the ODBC-JDBC bridge driver is auto-registered.  

It appears that this is a result of the work done to fix bug 51640.  If I
provide the attribute driverManagerProtection="false" to the
JreMemoryLeakPreventionListener, effectively disabling the fix for 51640, the
drivers auto-register as they did before.

I have attached a small JSP page and instructions that show this behavior.

This is being run under Java 1.7.0_25.  Tomcat is not being run behind a web
server.  We are running Coyote and the AJP connector.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to