[Pgpool-general] pgpool-II and jdbc

Brice Lambi lambi.brice at gmail.com
Wed Aug 8 17:30:25 UTC 2007


Hello,

Sorry if this is a duplicate, email alias issues.

I'm having trouble querying a pgpool-II system I have setup for parallel
queries with jdbc.  I can make the queries just fine with psql, but when I
run them as jdbc queries I get the following error:

org.postgresql.util.PSQLException: An I/O error occured while sending to the
backend.
    at org.postgresql.core.v3.QueryExecutorImpl.execute(
QueryExecutorImpl.java:214)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute (
AbstractJdbc2Statement.java:452)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(
AbstractJdbc2Statement.java:340)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(
AbstractJdbc2Statement.java :239)
    at esrl.gsd.fsl.pool.test.TestPgPool.main(TestPgPool.java:16)
Caused by: java.io.EOFException
    at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:258)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults (
QueryExecutorImpl.java:1163)
    at org.postgresql.core.v3.QueryExecutorImpl.execute(
QueryExecutorImpl.java:188)
    ... 4 more

I'm using driver version 8.1-410 JDBC 3.  Is there a different version I
should be using?

Thanks,
Brice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pgfoundry.org/pipermail/pgpool-general/attachments/20070808/766a1e81/attachment.html 


More information about the Pgpool-general mailing list