Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend. Caused by: ja

454508c4-0df2-4082-8673-f259788fb13dMay 7 2015 — edited May 7 2015

I have normal multithreading  java application which uses simple JDBC to connect postgresql DB but as i run this applicaton from console aftr sometime i'm getting exception as :

org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.

  at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:281)

  at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:559)

  at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417)

  at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:410)

  at com.tcs.nsdl.ccvs.daoImpl.MatchBookDaoImpl.callMatchBookFunc(MatchBookDaoImpl.java:37)

  at com.tcs.nsdl.ccvs.serviceImpl.MyRunnable.run(MyRunnable.java:30)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

  at java.lang.Thread.run(Thread.java:744)

Caused by: java.net.SocketException: Connection reset

  at java.net.SocketInputStream.read(SocketInputStream.java:196)

  at java.net.SocketInputStream.read(SocketInputStream.java:122)

  at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:143)

  at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:112)

  at org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:71)

  at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:269)

  at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1700)

  at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)

plz Help....

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2015
Added on May 7 2015
1 comment
2,100 views