Hi Leonid,

Am 05.02.2015 um 16:28 schrieb Leonid Rozenblyum:
Hello!

After upgrading from Tomcat7 to Tomcat8 we started facing exceptions:

rg.apache.catalina.realm.JDBCRealm getPassword
SEVERE: Exception performing authentication
org.postgresql.util.PSQLException: This statement has been closed.

They look like not giving any harm (?).
JDBCRealm will try again after it reports the error, so no real harm for you.

The exception gets thrown, because the PreparedStatement is used with a try-with block, which closes the instance variable, which is reused later (then obviously closed :( ).
Could we do anything to avoid this? Is it some kind of
misconfiguration at our side or some issue in Tomcat?
Use DataSourceRealm :)

Regards
 Felix

I've googled and found
http://stackoverflow.com/questions/24534286/strange-jdbcream-exception-occurs-on-tomcat

but without any suggestions what to do.

Thanks for any help.

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



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

Reply via email to