JDBC_PING - connection closed

Hi All,

We have keycloak in standalone HA mode with JDBC_PING configured. It’s worked well for several weeks, suddenly we got error below. we don’t know why this happens

2021-09-09 09:54:15,761 ERROR [org.jgroups.protocols.JDBC_PING] (thread-3980,ejb,ip-172-20-86-162) JGRP000138: Error reading JDBC_PING table: org.postgresql.util.PSQLException: This connection has been closed.
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:506)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.prepareStatement(JDBC_PING.java:209)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.readAll(JDBC_PING.java:221)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.readAll(JDBC_PING.java:197)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.findMembers(FILE_PING.java:124)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.invokeFindMembers(Discovery.java:217)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.findMembers(Discovery.java:244)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.down(Discovery.java:387)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.down(FILE_PING.java:119)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.MERGE3$InfoSender.run(MERGE3.java:412)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$Task.run(TimeScheduler3.java:328)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$RecurringTask.run(TimeScheduler3.java:362)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextReferenceExecutor.execute(ContextReferenceExecutor.java:49)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextualExecutor$1.run(ContextualExecutor.java:70)
    at java.base/java.lang.Thread.run(Thread.java:829)
    Suppressed: org.postgresql.util.PSQLException: This connection has been closed.
        at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
        at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:469)
        at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.prepareStatement(JDBC_PING.java:212)
        ... 15 more
2021-09-09 09:54:15,762 ERROR [org.jgroups.protocols.JDBC_PING] (thread-3980,ejb,ip-172-20-86-162) JGRP000145: Error updating JDBC_PING table: org.postgresql.util.PSQLException: This connection has been closed.
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:469)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.delete(JDBC_PING.java:334)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.writeToDB(JDBC_PING.java:142)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.write(JDBC_PING.java:125)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.findMembers(FILE_PING.java:128)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.invokeFindMembers(Discovery.java:217)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.findMembers(Discovery.java:244)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.down(Discovery.java:387)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.down(FILE_PING.java:119)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.MERGE3$InfoSender.run(MERGE3.java:412)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$Task.run(TimeScheduler3.java:328)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$RecurringTask.run(TimeScheduler3.java:362)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextReferenceExecutor.execute(ContextReferenceExecutor.java:49)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextualExecutor$1.run(ContextualExecutor.java:70)
    at java.base/java.lang.Thread.run(Thread.java:829)
2021-09-09 09:54:44,301 ERROR [org.jgroups.protocols.JDBC_PING] (thread-3979,ejb,ip-172-20-86-162) JGRP000138: Error reading JDBC_PING table: org.postgresql.util.PSQLException: This connection has been closed.
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:506)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.prepareStatement(JDBC_PING.java:209)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.readAll(JDBC_PING.java:221)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.readAll(JDBC_PING.java:197)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.findMembers(FILE_PING.java:124)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.invokeFindMembers(Discovery.java:217)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.findMembers(Discovery.java:244)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.down(Discovery.java:387)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.down(FILE_PING.java:119)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.MERGE3$InfoSender.run(MERGE3.java:412)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$Task.run(TimeScheduler3.java:328)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$RecurringTask.run(TimeScheduler3.java:362)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextReferenceExecutor.execute(ContextReferenceExecutor.java:49)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextualExecutor$1.run(ContextualExecutor.java:70)
    at java.base/java.lang.Thread.run(Thread.java:829)
    Suppressed: org.postgresql.util.PSQLException: This connection has been closed.
        at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
        at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:469)
        at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.prepareStatement(JDBC_PING.java:212)
        ... 15 more
2021-09-09 09:54:44,302 ERROR [org.jgroups.protocols.JDBC_PING] (thread-3979,ejb,ip-172-20-86-162) JGRP000145: Error updating JDBC_PING table: org.postgresql.util.PSQLException: This connection has been closed.
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:469)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.delete(JDBC_PING.java:334)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.writeToDB(JDBC_PING.java:142)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.write(JDBC_PING.java:125)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.findMembers(FILE_PING.java:128)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.invokeFindMembers(Discovery.java:217)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.findMembers(Discovery.java:244)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.down(Discovery.java:387)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.down(FILE_PING.java:119)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.MERGE3$InfoSender.run(MERGE3.java:412)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$Task.run(TimeScheduler3.java:328)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$RecurringTask.run(TimeScheduler3.java:362)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextReferenceExecutor.execute(ContextReferenceExecutor.java:49)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextualExecutor$1.run(ContextualExecutor.java:70)
    at java.base/java.lang.Thread.run(Thread.java:829)
2021-09-09 09:55:18,959 ERROR [org.jgroups.protocols.JDBC_PING] (thread-3979,ejb,ip-172-20-86-162) JGRP000138: Error reading JDBC_PING table: org.postgresql.util.PSQLException: This connection has been closed.
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:506)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.prepareStatement(JDBC_PING.java:209)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.readAll(JDBC_PING.java:221)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.readAll(JDBC_PING.java:197)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.findMembers(FILE_PING.java:124)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.invokeFindMembers(Discovery.java:217)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.findMembers(Discovery.java:244)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.down(Discovery.java:387)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.down(FILE_PING.java:119)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.MERGE3$InfoSender.run(MERGE3.java:412)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$Task.run(TimeScheduler3.java:328)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$RecurringTask.run(TimeScheduler3.java:362)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextReferenceExecutor.execute(ContextReferenceExecutor.java:49)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextualExecutor$1.run(ContextualExecutor.java:70)
    at java.base/java.lang.Thread.run(Thread.java:829)
    Suppressed: org.postgresql.util.PSQLException: This connection has been closed.
        at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
        at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:469)
        at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.prepareStatement(JDBC_PING.java:212)
        ... 15 more
2021-09-09 09:55:18,960 ERROR [org.jgroups.protocols.JDBC_PING] (thread-3979,ejb,ip-172-20-86-162) JGRP000145: Error updating JDBC_PING table: org.postgresql.util.PSQLException: This connection has been closed.
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:469)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.delete(JDBC_PING.java:334)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.writeToDB(JDBC_PING.java:142)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.write(JDBC_PING.java:125)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.findMembers(FILE_PING.java:128)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.invokeFindMembers(Discovery.java:217)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.findMembers(Discovery.java:244)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.down(Discovery.java:387)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.down(FILE_PING.java:119)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.MERGE3$InfoSender.run(MERGE3.java:412)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$Task.run(TimeScheduler3.java:328)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$RecurringTask.run(TimeScheduler3.java:362)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextReferenceExecutor.execute(ContextReferenceExecutor.java:49)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextualExecutor$1.run(ContextualExecutor.java:70)
    at java.base/java.lang.Thread.run(Thread.java:829)
2021-09-09 09:55:34,027 ERROR [org.jgroups.protocols.JDBC_PING] (thread-3980,ejb,ip-172-20-86-162) JGRP000138: Error reading JDBC_PING table: org.postgresql.util.PSQLException: This connection has been closed.
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
    at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:506)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.prepareStatement(JDBC_PING.java:209)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.readAll(JDBC_PING.java:221)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.readAll(JDBC_PING.java:197)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.findMembers(FILE_PING.java:124)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.invokeFindMembers(Discovery.java:217)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.findMembers(Discovery.java:244)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.Discovery.down(Discovery.java:387)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.FILE_PING.down(FILE_PING.java:119)
    at org.jgroups@4.2.4.Final//org.jgroups.protocols.MERGE3$InfoSender.run(MERGE3.java:412)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$Task.run(TimeScheduler3.java:328)
    at org.jgroups@4.2.4.Final//org.jgroups.util.TimeScheduler3$RecurringTask.run(TimeScheduler3.java:362)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextReferenceExecutor.execute(ContextReferenceExecutor.java:49)
    at org.jboss.as.clustering.common@20.0.1.Final//org.jboss.as.clustering.context.ContextualExecutor$1.run(ContextualExecutor.java:70)
    at java.base/java.lang.Thread.run(Thread.java:829)
    Suppressed: org.postgresql.util.PSQLException: This connection has been closed.
        at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:877)
        at org.postgresql@42.2.23//org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:806)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:909)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1992)
        at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final//org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:469)
        at org.jgroups@4.2.4.Final//org.jgroups.protocols.JDBC_PING.prepareStatement(JDBC_PING.java:212)
        ... 15 more

We have version 11.0.2 on EC2 amazon linux2 connected to PostgreSQL 11.12 (AWS RDS)

Thanks in advance

1 Like