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

            Bug ID: 54458
           Summary: DataSourceRealm should provide more info on
                    SQLException
           Product: Tomcat 7
           Version: 7.0.34
          Hardware: PC
                OS: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: mkb...@gmail.com
    Classification: Unclassified

The getPassword() method of the DataSourceRealm does not log enough information
when it encounters an SQL error.  The catch block is:

        } catch(SQLException e) {
            containerLog.error(
                    sm.getString("dataSourceRealm.getPassword.exception",
                                 username));
        } finally {

it would be really helpful to have some details of what the SQLException is.  I
am getting this intermittently, and have resorted to subclassing getPassword()
in an attempt to figure out what is going wrong.

-- 
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