Hi<br><br>We are using PGPool 3.1.2 with JBoss middleware. This exercise is basically integrate PGPool to our system as the load balancing and connection pooling software.<br><br>Currently within the code, it uses Enitity manager persistence as well as direct JDBC calls. After running the test couple of minutes, the JBoss receiving the above error to the log file.<br>
<br><span style="color:rgb(255,0,0)">May 31 11:00:39 db4 pgpool[15471]: pool_send_and_wait: Error or notice message from backend: : DB node id: 1 backend pid: 25463 statement: SELECT 1 message: portal &quot;&quot; does not exist</span><br style="color:rgb(255,0,0)">
<span style="color:rgb(255,0,0)">May 31 11:00:39 db4 pgpool[11787]: pool_send_and_wait: Error or notice message from backend: : DB node id: 1 backend pid: 25366 statement: select  pp.createok ,  pp.approveok ,   pp.activateok ,  pp.viewok ,  pp.editok ,  pp.deleteok ,  pp.complete ,   pp.blockok , pp.actionimportok ,  pp.exportok ,   pp.suspendok ,  pp.rejectok , pp.dispatchok , pp.cancelok , pp.assignok ,  pp.acceptok ,  pp.clockonok , pp.pauseok , pp.clockoff ,  pp.outstandingok ,  pp.removeok ,  pp.applytootherusersok  from projectpermission  pp, projectentity  pe  where pp.projectroleid  = 1526 and pp.projectentityid  = pe.projectentityid  and   pe.projectentityname  = &#39;TaskedUser&#39; message: portal &quot;&quot; does not exist</span><br style="color:rgb(255,0,0)">
<span style="color:rgb(255,0,0)">May 31 11:00:40 db4 pgpool[7532]: Replication of node:1 is behind -3184 bytes from the primary server (node:0)</span><br> <br><br>The manual JDBC calls are not prepared statements (I know that PGPool not supporting prepared statements) and they are normal statements.<br>
<br>They are executing like as below.<br><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)">            connection = getDatabaseConnection();</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)">            connection.setAutoCommit(false);</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)">            statement = connection.createStatement();</span><br style="color:rgb(51,51,255)"><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)">            String sql = &quot;&quot;;</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)">            sql = &quot;UPDATE messagerecipientext set </span><span style="color:rgb(51,51,255)">voicerequest=&#39;&quot;+retryData.getRequestUrl()&quot;&#39; &quot;;</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"></span><span style="color:rgb(51,51,255)">            sql += &quot; where messagerecipientid=&quot;+retryData.getMessageRecipientId();</span><br style="color:rgb(51,51,255)"><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)">            statement.addBatch(sql);</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)">            statement.executeBatch();</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)">            connection.commit();</span><br><br>PGPool configuration file + PGPool log file also attached. Could someone please give me a solution to solve this.<br><br>Many Thanks.<br><br>
/Roshan<br>