java.sql.SQLException: Connection is closed. at org.springframework.jdbc.support.SQLStateSQLExcept ionTranslator.translate(SQLStateSQLExceptionTransl ator.java:124) at org.springframework.jdbc.support.SQLErrorCodeSQLEx ceptionTranslator.translate(SQLErrorCodeSQLExcepti onTranslator.java:322) at org.springframework.orm.hibernate3.HibernateAccess or.convertJdbcAccessException(HibernateAccessor.ja va:424) at org.springframework.orm.hibernate3.HibernateAccess or.convertHibernateAccessException(HibernateAccess or.java:410) at org.springframework.orm.hibernate3.HibernateTempla te.doExecute(HibernateTemplate.java:424) at org.springframework.orm.hibernate3.HibernateTempla te.executeWithNativeSession(HibernateTemplate.java :374) at org.springframework.orm.hibernate3.HibernateTempla te.find(HibernateTemplate.java:917) at com.donateclearly.nps.dcs.config.DcsDataSource.fin d(DcsDataSource.java:49) at com.donateclearly.nps.dcs.manager.DcsUserManager.g etUserInfo(DcsUserManager.java:106) at com.donateclearly.nps.user.logic.UserFactory.login User(UserFactory.java:302) at com.donateclearly.nps.common.controller.MainContro ller.loginByNps(MainController.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via spring.io by Unknown author, 1 year ago
org.springframework.orm.hibernate3.HibernateTempla te.find(HibernateTemplate.java:917) at com.donateclearly.nps.dcs.config.DcsDataSource.fin d(DcsDataSource.java:49) at com.donateclearly.nps.dcs.manager.DcsUserManager.g etUserInfo(DcsUserManager.java:106) at
via osdir.com by Unknown author, 2 years ago
:424) >> >> at >> >> >> org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:410) >> >> at >> >> >> org.springframework.orm.hibernate3.HibernateTemplate.execute
via spring.io by Unknown author, 2 years ago
Missing defines at org.springframework.jdbc.support.SQLStateSQLExcept ionTranslator.translate(SQLStateSQLExceptionTransl ator.java:124) at org.springframework.jdbc.support.SQLErrorCodeSQLEx ceptionTranslator.translate(SQLErrorCodeSQLExcepti
via spring.io by Unknown author, 1 year ago
org.springframework.jdbc.support.SQLErrorCodesFact ory.getErrorCodes(SQLErrorCodesFactory.java:209) at org.springframework.jdbc.support.SQLErrorCodeSQLEx ceptionTranslator.setDataSource(SQLErrorCodeSQLExc eptionTranslator.java:115) at org.springframework.jdbc.support.SQLErrorCodeSQLEx
via dbforums.com by Unknown author, 1 year ago
Closed Connection: next at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:134) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:179) at oracle.jdbc.dbaccess.DBError.check_error(DBError.j ava
via jtds by peterdb
, 1 year ago
Internal error. Unrecognized type 2005 at net.sourceforge.jtds.jdbc.ParameterUtils.createParameterMapping(ParameterUtils.java:244) at net.sourceforge.jtds.jdbc.PreparedStatement_base.findOrCreateProcedure(PreparedStatement_base.java:149
java.sql.SQLException: Connection is closed. at org.springframework.jdbc.support.SQLStateSQLExcept ionTranslator.translate(SQLStateSQLExceptionTransl ator.java:124) at org.springframework.jdbc.support.SQLErrorCodeSQLEx ceptionTranslator.translate(SQLErrorCodeSQLExcepti onTranslator.java:322) at org.springframework.orm.hibernate3.HibernateAccess or.convertJdbcAccessException(HibernateAccessor.ja va:424) at org.springframework.orm.hibernate3.HibernateAccess or.convertHibernateAccessException(HibernateAccess or.java:410) at org.springframework.orm.hibernate3.HibernateTempla te.doExecute(HibernateTemplate.java:424) at org.springframework.orm.hibernate3.HibernateTempla te.executeWithNativeSession(HibernateTemplate.java :374) at org.springframework.orm.hibernate3.HibernateTempla te.find(HibernateTemplate.java:917) at com.donateclearly.nps.dcs.config.DcsDataSource.fin d(DcsDataSource.java:49) at com.donateclearly.nps.dcs.manager.DcsUserManager.g etUserInfo(DcsUserManager.java:106) at com.donateclearly.nps.user.logic.UserFactory.login User(UserFactory.java:302) at com.donateclearly.nps.common.controller.MainContro ller.loginByNps(MainController.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.