tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DIGLLOYD INC <digllo...@diglloyd.com>
Subject DigestAuthenticator failure: java.sql.SQLException: Operation not allowed after ResultSet closed
Date Thu, 30 Jul 2009 16:48:04 GMT
How can I resolve this issue?  It takes Tomcat own on a regular basis,  
locking out legitimate users.  Looks like JDBCRealm has some kind of  
bug.

Thanks!

Jul 29, 2009 1:46:41 PM org.apache.catalina.realm.JDBCRealm getRoles
SEVERE: Exception performing authentication
java.sql.SQLException: Operation not allowed after ResultSet closed
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
	at com.mysql.jdbc.ResultSetImpl.checkClosed(ResultSetImpl.java:768)
	at com.mysql.jdbc.ResultSetImpl.next(ResultSetImpl.java:7008)
	at org.apache.catalina.realm.JDBCRealm.getRoles(JDBCRealm.java:632)
	at org.apache.catalina.realm.JDBCRealm.getPrincipal(JDBCRealm.java:596)
	at org.apache.catalina.realm.RealmBase.authenticate(RealmBase.java:400)
	at  
org 
.apache 
.catalina 
.authenticator 
.DigestAuthenticator.findPrincipal(DigestAuthenticator.java:283)
	at  
org 
.apache 
.catalina 
.authenticator 
.DigestAuthenticator.authenticate(DigestAuthenticator.java:176)
	at  
org 
.apache 
.catalina 
.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
	at com.diglloyd.tomcat.BadInputValve.invoke(BadInputValve.java:284)
	at  
org 
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 
128)
	at  
org 
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 
102)
	at  
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 
568)
	at  
org 
.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java: 
394)
	at  
org 
.apache 
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 
286)
	at  
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
844)
	at org.apache.coyote.http11.Http11Protocol 
$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: 
447)
	at java.lang.Thread.run(Thread.java:613)


diglloyd:bin lloyd$ ./version
-bash: ./version: No such file or directory
diglloyd:bin lloyd$ ./version.sh
Using CATALINA_BASE:   /web/tomcat
Using CATALINA_HOME:   /web/tomcat
Using CATALINA_TMPDIR: /web/tomcat/temp
Using JRE_HOME:       /System/Library/Frameworks/JavaVM.framework/ 
Versions/CurrentJDK/Home
Server version: Apache Tomcat/6.0.16
Server built:   Jan 28 2008 11:35:29
Server number:  6.0.16.0
OS Name:        Mac OS X
OS Version:     10.5.7
Architecture:   i386
JVM Version:    1.5.0_19-b02-304
JVM Vendor:     Apple Inc.



Lloyd Chambers
http://diglloyd.com
http://macperformanceguide.com/
[Mac OS X 10.5.2 Intel, Tomcat 6.0.16]






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message