View | Details | Raw Unified | Return to bug 54458
Collapse All | Expand All

(-)java/org/apache/catalina/realm/DataSourceRealm.java (-4 / +4 lines)
Lines 455-461 Link Here
455
        } catch(SQLException e) {
455
        } catch(SQLException e) {
456
            containerLog.error(
456
            containerLog.error(
457
                    sm.getString("dataSourceRealm.getPassword.exception",
457
                    sm.getString("dataSourceRealm.getPassword.exception",
458
                                 username));
458
                                 username), e);
459
        } finally {
459
        } finally {
460
            try {
460
            try {
461
                if (rs != null) {
461
                if (rs != null) {
Lines 467-473 Link Here
467
            } catch (SQLException e) {
467
            } catch (SQLException e) {
468
                    containerLog.error(
468
                    containerLog.error(
469
                        sm.getString("dataSourceRealm.getPassword.exception",
469
                        sm.getString("dataSourceRealm.getPassword.exception",
470
                             username));
470
                             username), e);
471
                
471
                
472
            }
472
            }
473
        }
473
        }
Lines 548-554 Link Here
548
            return list;
548
            return list;
549
        } catch(SQLException e) {
549
        } catch(SQLException e) {
550
            containerLog.error(
550
            containerLog.error(
551
                sm.getString("dataSourceRealm.getRoles.exception", username));
551
                sm.getString("dataSourceRealm.getRoles.exception", username), e);
552
        }
552
        }
553
        finally {
553
        finally {
554
            try {
554
            try {
Lines 561-567 Link Here
561
            } catch (SQLException e) {
561
            } catch (SQLException e) {
562
                    containerLog.error(
562
                    containerLog.error(
563
                        sm.getString("dataSourceRealm.getRoles.exception",
563
                        sm.getString("dataSourceRealm.getRoles.exception",
564
                                     username));
564
                                     username), e);
565
            }
565
            }
566
        }
566
        }
567
        
567
        

Return to bug 54458