java.sql.SQLException

Closed Statement

Solutions on the web3331

  • via Hibernate JIRA by Karl von Randow, 10 months ago
    Statement closed.
  • via commons-user by ashoknan, 11 months ago
    Closed Statement
  • via Hibernate JIRA by Karl von Randow, 1 year ago
    Statement closed.
  • Stack trace

    • java.sql.SQLException: Closed Statement at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:113)[ojdbc6.jar:Oracle JDBC Driver version - "10.2.0.5.0"] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:147)[ojdbc6.jar:Oracle JDBC Driver version - "10.2.0.5.0"] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:209)[ojdbc6.jar:Oracle JDBC Driver version - "10.2.0.5.0"] at oracle.jdbc.driver.OracleStatement.ensureOpen(OracleStatement.java:3552)[ojdbc6.jar:Oracle JDBC Driver version - "10.2.0.5.0"] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3396)[ojdbc6.jar:Oracle JDBC Driver version - "10.2.0.5.0"] at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3521)[ojdbc6.jar:Oracle JDBC Driver version - "10.2.0.5.0"] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)[commons-dbcp-1.2.2.jar:1.2.2] at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)[commons-dbcp-1.2.2.jar:1.2.2] at org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:469)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyExec(ConnectionHelper.java:387)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:361)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:357)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:507)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.util.db.ConnectionHelper.exec(ConnectionHelper.java:357)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.util.db.ArtifactoryConnectionHelper.select(ArtifactoryConnectionHelper.java:67)[artifactory-jcr-storage-2.6.2.jar:2.2.8d] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.insertRecordInDb(ArtifactoryDataStore.java:257)[artifactory-jcr-storage-2.6.2.jar:na] at org.artifactory.jcr.jackrabbit.ArtifactoryDataStore.addRecord(ArtifactoryDataStore.java:223)[artifactory-jcr-storage-2.6.2.jar:na] at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:124)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:619)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:369)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.value.InternalValueFactory.create(InternalValueFactory.java:94)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.apache.jackrabbit.core.value.ValueFactoryImpl.createBinary(ValueFactoryImpl.java:74)[jackrabbit-core-jfrog-2.2.8d.jar:2.2.8d] at org.artifactory.jcr.fs.JcrFile.fillJcrData(JcrFile.java:633)[artifactory-jcr-storage-2.6.2.jar:na] at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:565)[artifactory-jcr-storage-2.6.2.jar:na] at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:144)[artifactory-jcr-storage-2.6.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.fillJcrFileData(StoringRepoMixin.java:795)[artifactory-core-2.6.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:631)[artifactory-core-2.6.2.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:410)[artifactory-core-2.6.2.jar:na] at org.artifactory.engine.UploadServiceImpl.uploadItemWithContent(UploadServiceImpl.java:575)[artifactory-core-2.6.2.jar:na] at org.artifactory.engine.UploadServiceImpl.uploadItemWithProvidedContent(UploadServiceImpl.java:553)[artifactory-core-2.6.2.jar:na] at org.artifactory.engine.UploadServiceImpl.uploadItem(UploadServiceImpl.java:483)[artifactory-core-2.6.2.jar:na] at org.artifactory.engine.UploadServiceImpl.uploadFile(UploadServiceImpl.java:456)[artifactory-core-2.6.2.jar:na] at org.artifactory.engine.UploadServiceImpl.uploadArtifact(UploadServiceImpl.java:418)[artifactory-core-2.6.2.jar:na] at org.artifactory.engine.UploadServiceImpl.uploadWithinTransaction(UploadServiceImpl.java:144)[artifactory-core-2.6.2.jar:na] at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:68)[artifactory-core-2.6.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121)[artifactory-jcr-storage-2.6.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:49)[artifactory-jcr-storage-2.6.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at $Proxy95.uploadWithinTransaction(Unknown Source)[na:na] at org.artifactory.engine.UploadServiceImpl.adjustResponseAndUpload(UploadServiceImpl.java:217)[artifactory-core-2.6.2.jar:na] at org.artifactory.engine.UploadServiceImpl.validateRequestAndUpload(UploadServiceImpl.java:172)[artifactory-core-2.6.2.jar:na] at org.artifactory.engine.UploadServiceImpl.upload(UploadServiceImpl.java:133)[artifactory-core-2.6.2.jar:na] at sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at $Proxy95.upload(Unknown Source)[na:na] at org.artifactory.webapp.servlet.RepoFilter.doUpload(RepoFilter.java:203)[artifactory-web-application-2.6.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:145)[artifactory-web-application-2.6.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:84)[artifactory-web-application-2.6.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.32] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:272)[artifactory-web-application-2.6.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:193)[artifactory-web-application-2.6.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:175)[artifactory-web-application-2.6.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:143)[artifactory-web-application-2.6.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:55)[artifactory-web-application-2.6.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:72)[artifactory-web-application-2.6.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)[catalina.jar:6.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)[catalina.jar:6.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)[catalina.jar:6.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[catalina.jar:6.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[catalina.jar:6.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)[catalina.jar:6.0.32] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)[tomcat-coyote.jar:6.0.32] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)[tomcat-coyote.jar:6.0.32] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)[tomcat-coyote.jar:6.0.32] at java.lang.Thread.run(Thread.java:619)[na:1.6.0_21]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 9 months ago
    Unknown user
    Once, 9 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    76 more bugmates