DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32646>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32646 ------- Additional Comments From [EMAIL PROTECTED] 2005-01-12 20:52 ------- I have the same issue with 5.5.5. After restart realm login works for a while then it stops working and logs the same message. Now I migrated to datasource realm, and it seems login works now, but only if I setup DBCP to recover abandoned connections. Specifically, this happened: First I setup the datasource using the default parameters recommended in the tomcat-5.5-doc/jndi-datasource-examples-howto.html document, but with maxActive="3" maxIdle="1". In thic case the first login was sucessful, the second (if I remember well) was failed. The log entry was this: "SEVERE: Exception performing authentication org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool exhausted... Caused by: java.util.NoSuchElementException: Timeout waiting for idle object" Next I switched on abandoned resource removal (using removeAbandoned="true" removeAbandonedTimeout="5" logAbandoned="true"). In this case the following appears in the log after each (successful) login attempts: DBCP object created 2005-01-12 20:37:09 by the following code was never closed: java.lang.Exception at org.apache.tomcat.dbcp.dbcp.AbandonedTrace.setStackTrace(AbandonedTrace.java:157) at org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:76) at org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) at org.apache.catalina.realm.DataSourceRealm.open(DataSourceRealm.java:407) at org.apache.catalina.realm.DataSourceRealm.getRoles(DataSourceRealm.java:538) at org.apache.catalina.realm.DataSourceRealm.authenticate(DataSourceRealm.java:360) at org.apache.catalina.realm.DataSourceRealm.authenticate(DataSourceRealm.java:284) at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:181) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]