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, 2 years ago
No current connection.
via JFrog JIRA by Kostis Anagnostopoulos, 1 year ago
No current connection.
via Google Groups by AZ, 9 months ago
No current connection.
via Google Groups by AZ, 9 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.
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.derby.impl.jdbc.EmbedConnection.getMetaData(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.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:900)	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.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:282)	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.springframework.context.support.AbstractApplicationContext.destroy(AbstractApplicationContext.java:609)	at org.artifactory.webapp.servlet.ArtifactoryContextConfigurer.contextDestroyed(ArtifactoryContextConfigurer.java:55)	at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:564)	at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:485)	at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)	at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:164)	at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)	at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:164)	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)	at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:548)