<div dir="ltr">I set up a pgoool (3.5.4) environment using the standard pgpool.conf.sample-replication configuration, and I was using a Java application to connect to it.<div><br></div><div>The Java app using JDBC, doesn&#39;t work. It gives me the following error <a href="https://gist.github.com/rhossi/c105fdee67b2ae6a0e89a89ca0b6971d">https://gist.github.com/rhossi/c105fdee67b2ae6a0e89a89ca0b6971d</a></div><div><br></div><div>In the pgpool log, I have this log <a href="https://gist.github.com/rhossi/acb85d5d578484c38bf9baccf2182213">https://gist.github.com/rhossi/acb85d5d578484c38bf9baccf2182213</a></div><div><br></div><div>I&#39;ve wrote a Python application using the package psycopg2 (which uses libpq), and with this program I am able to successfully connect.</div><div><br></div><div>Most strange is, I think there might be a bug in pgpool. If I start pgppool and run the Java application, I get the error above. But If I start pgpool, and run the Python app a couple of times, and then run the Java app, the Java app works.</div><div><br></div><div>The code for the Java Application - <a href="https://gist.github.com/rhossi/b10c0cd20ac0284d758da405886a0320">https://gist.github.com/rhossi/b10c0cd20ac0284d758da405886a0320</a></div><div><br></div><div>The code for the Python application</div><div>- <a href="https://gist.github.com/rhossi/98004f6e62795b67cb84997d8d4d2250">https://gist.github.com/rhossi/98004f6e62795b67cb84997d8d4d2250</a><br></div><div><br></div><div>Can someone help me, please?</div><div><br></div><div>Thanks,</div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Felipe Garcia<div>+55 (11) 98899-6065<br><div><div><font size="1" color="#999999">Aviso: Geralmente, email é a melhor forma de me encontrar. Eu tentarei responder a sua mensagem o mais rápido possível.</font></div><div><span style="background-color:rgb(255,255,255)"><font size="1" color="#999999">Note: Generally, email is the best way to reach me.  I will respond to your message as soon as possible</font></span><br></div><div><font size="1" color="#444444"><br></font></div></div></div></div></div></div>
</div></div>