Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2814

java.sql.SQLException: Couldn't access org.postgresql.largeobject.LargeObject

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.14.0
    • None
    • None

    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

        Activity

          People

            Unassigned Unassigned
            rvais Roman Vais
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m