ASF Bugzilla – Attachment 29883 Details for
Bug 54458
DataSourceRealm should provide more info on SQLException
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch proposal
DataSourceRealm.java.diff (text/plain), 1.52 KB, created by
Violeta Georgieva
on 2013-01-22 20:07:54 UTC
(
hide
)
Description:
Patch proposal
Filename:
MIME Type:
Creator:
Violeta Georgieva
Created:
2013-01-22 20:07:54 UTC
Size:
1.52 KB
patch
obsolete
>Index: java/org/apache/catalina/realm/DataSourceRealm.java >=================================================================== >--- java/org/apache/catalina/realm/DataSourceRealm.java (revision 1437127) >+++ java/org/apache/catalina/realm/DataSourceRealm.java (working copy) >@@ -455,7 +455,7 @@ > } catch(SQLException e) { > containerLog.error( > sm.getString("dataSourceRealm.getPassword.exception", >- username)); >+ username), e); > } finally { > try { > if (rs != null) { >@@ -467,7 +467,7 @@ > } catch (SQLException e) { > containerLog.error( > sm.getString("dataSourceRealm.getPassword.exception", >- username)); >+ username), e); > > } > } >@@ -548,7 +548,7 @@ > return list; > } catch(SQLException e) { > containerLog.error( >- sm.getString("dataSourceRealm.getRoles.exception", username)); >+ sm.getString("dataSourceRealm.getRoles.exception", username), e); > } > finally { > try { >@@ -561,7 +561,7 @@ > } catch (SQLException e) { > containerLog.error( > sm.getString("dataSourceRealm.getRoles.exception", >- username)); >+ username), e); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54458
: 29883