Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3855

[LTS] [EAP - postgresql115] java.sql.SQLException: Couldn't access org.postgresql.largeobject.LargeObject

    XMLWordPrintable

Details

    Description

      Wrong reflection code used (int vs. Integer in method signature).

      WARN  [org.apache.activemq.artemis.core.server] (Thread-10 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$6@5d52789e)) AMQ222010: Critical IO Error, shutting down the server. file=org.apache.activemq.artemis.jdbc.store.file.JDBCSequentialFile@5072ac02, message=Error writing to JDBC file.: java.sql.SQLException:
      Couldn't access org.postgresql.largeobject.LargeObject
      at org.apache.activemq.artemis.jdbc.store.file.PostgresLargeObjectManager.seek(PostgresLargeObjectManager.java:145) [artemis-jdbc-store-2.12.0.jar:2.13.0.redhat-00005]
      at org.apache.activemq.artemis.jdbc.store.file.PostgresSequentialSequentialFileDriver.writeToFile(PostgresSequentialSequentialFileDriver.java:116) [artemis-jdbc-store-2.12.0.jar:2.13.0.redhat-00005]
      at org.apache.activemq.artemis.jdbc.store.file.JDBCSequentialFile.internalWrite(JDBCSequentialFile.java:167) [artemis-jdbc-store-2.12.0.jar:2.13.0.redhat-00005]
      at org.apache.activemq.artemis.jdbc.store.file.JDBCSequentialFile.internalWrite(JDBCSequentialFile.java:195) [artemis-jdbc-store-2.12.0.jar:2.13.0.redhat-00005]
      at org.apache.activemq.artemis.jdbc.store.file.JDBCSequentialFile.lambda$scheduleWrite$1(JDBCSequentialFile.java:206) [artemis-jdbc-store-2.12.0.jar:2.13.0.redhat-00005] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)[artemis-commons-2.12.0.jar:2.13.0.redhat-00005]
      at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.12.0.jar:2.13.0.redhat-00005]
      at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65) [artemis-commons-2.12.0.jar:2.13.0.redhat-00005] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_242]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_242]
      at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.12.0.jar:2.13.0.redhat-00005]
      Caused by: java.lang.NoSuchMethodException: org.postgresql.largeobject.LargeObject.seek(java.lang.Integer)
      at java.lang.Class.getMethod(Class.java:1786) [rt.jar:1.8.0_242]
      at org.apache.activemq.artemis.jdbc.store.file.PostgresLargeObjectManager.seek(PostgresLargeObjectManager.java:142) [artemis-jdbc-store-2.12.0.jar:2.13.0.redhat-00005]
      ... 10 more
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jbertram Justin Bertram
              dbruscin Domenico Francesco Bruscino
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: