org.postgresql.util.PSQLException: This connection has been closed.

Stack Overflow | veal | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Quartz JobStoreTX continuously logs exceptions when the database connection drops

    Stack Overflow | 12 months ago | veal
    org.postgresql.util.PSQLException: This connection has been closed.
  2. 0

    JDBI (not JDBC) Connection Closed - how to handle

    Stack Overflow | 1 year ago | Mike
    org.postgresql.util.PSQLException: This connection has been closed.
  3. 0

    JDBI Connection Closed - how to handle

    Stack Overflow | 1 year ago | Mike
    org.postgresql.util.PSQLException: This connection has been closed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Guice JPA - "This connection has been closed." error

    Stack Overflow | 4 years ago | Jakub Bochenski
    org.postgresql.util.PSQLException: This connection has been closed.
  6. 0

    Wso2dss connection closed exception from postgresql DB

    Stack Overflow | 1 year ago | user4045063
    org.postgresql.util.PSQLException: This connection has been closed.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.postgresql.util.PSQLException

      This connection has been closed.

      at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed()
    2. PostgreSQL JDBC Driver
      AbstractJdbc2Connection.rollback
      1. org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:820)[postgresql-9.4-1201-jdbc41.jar:9.4]
      2. org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:837)[postgresql-9.4-1201-jdbc41.jar:9.4]
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_45]
      3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_45]
      3 frames
    4. Springloaded
      ReflectiveInterceptor.jlrMethodInvoke
      1. org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1426)[springloaded-1.2.4.RELEASE.jar:1.2.4.RELEASE]
      1 frame
    5. org.apache.tomcat
      DisposableConnectionFacade.invoke
      1. org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126)[tomcat-jdbc-8.0.28.jar:na]
      2. org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108)[tomcat-jdbc-8.0.28.jar:na]
      3. org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:81)[tomcat-jdbc-8.0.28.jar:na]
      3 frames
    6. com.sun.proxy
      $Proxy36.rollback
      1. com.sun.proxy.$Proxy36.rollback(Unknown Source)[na:na]
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_45]
      3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_45]
      3 frames
    8. Springloaded
      ReflectiveInterceptor.jlrMethodInvoke
      1. org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1426)[springloaded-1.2.4.RELEASE.jar:1.2.4.RELEASE]
      1 frame
    9. quartz
      AttributeRestoringConnectionInvocationHandler.invoke
      1. org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73)[quartz-2.2.2.jar:na]
      1 frame
    10. com.sun.proxy
      $Proxy37.rollback
      1. com.sun.proxy.$Proxy37.rollback(Unknown Source)[na:na]
      1 frame
    11. quartz
      QuartzSchedulerThread.run
      1. org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3662)[quartz-2.2.2.jar:na]
      2. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3821)[quartz-2.2.2.jar:na]
      3. org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2756)[quartz-2.2.2.jar:na]
      4. org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:272)[quartz-2.2.2.jar:na]
      4 frames