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

GitHub | jcristovao | 5 months ago
  1. 0

    How to configure timeouts for postgres

    GitHub | 5 months ago | jcristovao
    org.postgresql.util.PSQLException: This connection has been closed.
  2. 0

    GitHub comment 104#176205128

    GitHub | 10 months ago | gioppoluca
    org.springframework.transaction.TransactionSystemException: Could not roll back JPA transaction; nested exception is javax.persistence.PersistenceException: unexpected error when rollbacking
  3. 0

    Running in dev get stuck on Postgres

    GitHub | 3 months ago | gioppoluca
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(org.springframework.security.config.annotation.ObjectPostProcessor,java.util.List) throws java.lang.Exception; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.setAuthenticationConfiguration(org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration.setGlobalAuthenticationConfigurers(java.util.List) throws java.lang.Exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.activiti.spring.boot.SecurityAutoConfiguration$UserDetailsServiceConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.activiti.engine.IdentityService org.activiti.spring.boot.SecurityAutoConfiguration$UserDetailsServiceConfiguration.identityService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'identityServiceBean' defined in class path resource [org/activiti/spring/boot/JpaProcessEngineAutoConfiguration$JpaConfiguration.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.activiti.engine.ProcessEngine]: : Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.springframework.transaction.TransactionSystemException: Could not roll back JPA transaction; nested exception is javax.persistence.PersistenceException: unexpected error when rollbacking; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.springframework.transaction.TransactionSystemException: Could not roll back JPA transaction; nested exception is javax.persistence.PersistenceException: unexpected error when rollbacking
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to get Squeryl to release closed connections back to C3P0?

    Stack Overflow | 3 years ago | Dr.Haribo
    org.postgresql.util.PSQLException: This connection has been closed.
  6. 0

    Glassfish, PostgreSQL and closed connections

    Stack Overflow | 4 years ago | Matteo
    javax.resource.spi.LocalTransactionException: 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:843)
      2. org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:860)
      2 frames
    3. ${project.artifactId}
      Flyway.migrate
      1. org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:81)
      2. org.flywaydb.core.internal.command.DbMigrate.applyMigration(DbMigrate.java:282)
      3. org.flywaydb.core.internal.command.DbMigrate.access$800(DbMigrate.java:46)
      4. org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:207)
      5. org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:156)
      6. org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
      7. org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:156)
      8. org.flywaydb.core.Flyway$1.execute(Flyway.java:1059)
      9. org.flywaydb.core.Flyway$1.execute(Flyway.java:1006)
      10. org.flywaydb.core.Flyway.execute(Flyway.java:1418)
      11. org.flywaydb.core.Flyway.migrate(Flyway.java:1006)
      11 frames
    4. org.flywaydb.commandline
      Main.main
      1. org.flywaydb.commandline.Main.executeOperation(Main.java:122)
      2. org.flywaydb.commandline.Main.main(Main.java:91)
      2 frames