Roman Vais created ARTEMIS-2814:
-----------------------------------

             Summary: java.sql.SQLException: Couldn't access 
org.postgresql.largeobject.LargeObject
                 Key: ARTEMIS-2814
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2814
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Roman Vais


Wrong reflection code used (int vs. Integer in method signature).
{noformat}
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
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to