Always remember to post your error message for others to help you.
My first suggestion is to change the SQL to following:
Sorry, I was on mobile phone before.
Here are the complete error message :
ResponseError. Reason: java.lang.RuntimeException: Object should first be initialized (JavaObject)., Response: <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 500 java.lang.RuntimeException: Object should first be initialized (JavaObject).</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /rdc. Reason:
<pre> java.lang.RuntimeException: Object should first be initialized (JavaObject).</pre></p><hr><a href="
http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a><hr/>
</body>
</html>
I ran jar file via the command line, the output showed :
Command: , took 15ms, client .....
But if I changed the config file into
sql.test2 = select * from stored_proc1(?)
the output showed :
Command: query : test2, took 15ms, client .....