java.sql.SQLException: No current connection.

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 JFrog JIRA by Kostis Anagnostopoulos, 1 year ago
No current connection.
via Google Groups by AZ, 6 months ago
No current connection.
via Google Groups by AZ, 6 months ago
No current connection.
via sourceforge.net by Unknown author, 1 year ago
via Hibernate JIRA by Marcel, 1 year ago
Cannot close a connection while a transaction is still active.
via Hibernate JIRA by Marcel, 1 year ago
Cannot close a connection while a transaction is still active.
java.sql.SQLException: No current connection.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.checkIfClosed(Unknown Source)
at org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager.close(DerbyPersistenceManager.java:320)
at org.apache.jackrabbit.core.version.VersionManagerImpl.close(VersionManagerImpl.java:188)
at org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.java:951)
at org.artifactory.jcr.JcrHelper.destroy(JcrHelper.java:144)
at org.artifactory.repo.CentralConfig.destroy(CentralConfig.java:149)
at org.artifactory.repo.spring.CentralConfigFactoryBean.destroy(CentralConfigFactoryBean.java:102)
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:145)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:308)
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:676)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:654)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:621)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigurer.contextDestroyed(ArtifactoryContextConfigurer.java:55)
at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:564)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
at org.mortbay.jetty.Server.doStop(Server.java:270)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)

Users with the same issue

Once, 7 months ago
Once, 9 months ago
Once, 9 months ago
Once, 1 year ago
81 times, 1 year ago

Write tip

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