tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DIGLLOYD INC <digllo...@diglloyd.com>
Subject Re: DigestAuthenticator failure: java.sql.SQLException: Operation not allowed after ResultSet closed
Date Fri, 31 Jul 2009 17:58:28 GMT
Thank you, looks like 6.0.19 should fix it, I've upgraded to that.

Lloyd

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





On Jul 30, 2009, at 10:28 AM, Konstantin Kolinko wrote:

> 2009/7/30 DIGLLOYD INC <diglloyd1@diglloyd.com>:
>> 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]
>
> It should be the following issue:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=45453
>
> It was fixed in rev.685696
> (http://svn.apache.org/viewvc?view=rev&revision=685696)
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


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


Mime
View raw message