org.mule.api.store.ObjectStoreException: QueryRunner requires a DataSource to be invoked in this way, or a Connection should be passed in (java.sql.SQLException)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via MuleSoft JIRA by Mariano Capurro, 1 year ago
QueryRunner requires a DataSource to be invoked in this way, or a Connection should be passed in (java.sql.SQLException)
via MuleSoft JIRA by Mariano Capurro, 1 year ago
QueryRunner requires a DataSource to be invoked in this way, or a Connection should be passed in (java.sql.SQLException)
org.mule.api.store.ObjectStoreException: QueryRunner requires a DataSource to be invoked in this way, or a Connection should be passed in (java.sql.SQLException)
at org.mule.transport.jdbc.store.JdbcObjectStore.query(JdbcObjectStore.java:172)
at org.mule.transport.jdbc.store.JdbcObjectStore.retrieve(JdbcObjectStore.java:87)
at org.mule.transport.jdbc.store.JdbcObjectStore.remove(JdbcObjectStore.java:77)
at org.mule.transport.sap.store.MuleObjectStoreTIdStore.remove(MuleObjectStoreTIdStore.java:56)
at org.mule.transport.sap.jco3.SapJcoServerTIdHandler.confirmTID(SapJcoServerTIdHandler.java:86)
at com.sap.conn.jco.rt.DefaultServerWorker.onConfirmTID(DefaultServerWorker.java:228)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.handletRfcConfirm(MiddlewareJavaRfc.java:2867)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2375)
at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:284)
at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:369)
at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:245)
at java.lang.Thread.run(Thread.java:680)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.