BUG #6684: An I/O error occured while sending to the backend

Started by wbranaalmost 14 years ago5 messagesbugs
Jump to latest
#1wbrana
wbrana@gmail.com

The following bug has been logged on the website:

Bug reference: 6684
Logged by: wbrana
Email address: wbrana@gmail.com
PostgreSQL version: 9.1.4
Operating system: Linux
Description:

I tried to post this to pgsql-jdbc, but it was blocked.

java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode)

public Connection getConn(){
if (conn == null) {
try {
Class.forName("org.postgresql.Driver"); //load the driver
conn =
DriverManager.getConnection("jdbc:postgresql://localhost/forum?loglevel=1","forum","forum");
} catch (Exception e) {
if (debug) {
e.printStackTrace();
}
}
}
return conn;
}

forum.ViewsThread.run:
public void run() {
Connection conn = new Jdbc().getConn();
try {
conn.setAutoCommit(false);
conn.prepareStatement("analyze forum_cats").executeUpdate();
conn.prepareStatement("analyze forums").executeUpdate();
conn.prepareStatement("analyze groups").executeUpdate();
conn.prepareStatement("analyze posts").executeUpdate(); // Line 77
conn.prepareStatement("analyze threads").executeUpdate();
conn.prepareStatement("analyze user_groups").executeUpdate();
conn.prepareStatement("analyze users").executeUpdate();
conn.commit();

2012-06-09 12:43:52.654 CEST,,,2285,"",4fd328e8.8ed,1,"",2012-06-09
12:43:52 CEST,,0,LOG,00000,"connection received: host=127.0.0.1
port=55770",,,,,,,,,""
2012-06-09 12:43:52.656
CEST,"forum","forum",2285,"127.0.0.1:55770",4fd328e8.8ed,2,"authentication",2012-06-09
12:43:52 CEST,10/151,0,LOG,00000,"connection authorized: user=forum
database=forum",,,,,,,,,""
2012-06-09 12:43:52.658
CEST,"forum","forum",2285,"127.0.0.1:55770",4fd328e8.8ed,3,"SET",2012-06-09
12:43:52 CEST,10/152,0,LOG,00000,"execute <unnamed>: SET
extra_float_digits = 3",,,,,,,,,""
2012-06-09 12:43:52.668
CEST,"forum","forum",2285,"127.0.0.1:55770",4fd328e8.8ed,4,"BEGIN",2012-06-09
12:43:52 CEST,10/153,0,LOG,00000,"execute S_1: BEGIN",,,,,,,,,""
2012-06-09 12:43:52.668
CEST,"forum","forum",2285,"127.0.0.1:55770",4fd328e8.8ed,5,"ANALYZE",2012-06-09
12:43:52 CEST,10/153,0,LOG,00000,"execute <unnamed>: analyze
forum_cats",,,,,,,,,""
2012-06-09 12:43:52.670
CEST,"forum","forum",2285,"127.0.0.1:55770",4fd328e8.8ed,6,"ANALYZE",2012-06-09
12:43:52 CEST,10/153,6274,LOG,00000,"execute <unnamed>: analyze
forums",,,,,,,,,""
2012-06-09 12:43:52.671
CEST,"forum","forum",2285,"127.0.0.1:55770",4fd328e8.8ed,7,"ANALYZE",2012-06-09
12:43:52 CEST,10/153,6274,LOG,00000,"execute <unnamed>: analyze
groups",,,,,,,,,""
2012-06-09 12:43:52.671
CEST,"forum","forum",2285,"127.0.0.1:55770",4fd328e8.8ed,8,"ANALYZE",2012-06-09
12:43:52 CEST,10/153,6274,LOG,00000,"execute <unnamed>: analyze
posts",,,,,,,,,""
2012-06-09 12:43:52.691
CEST,"forum","forum",2228,"127.0.0.1:55758",4fd328e4.8b4,8,"SELECT",2012-06-09
12:43:48 CEST,2/184,0,LOG,00000,"execute <unnamed>: SELECT forum_id,
cat_id, cat_name, forum_description, forum_name, login, post_count,
post_created, thread_count, thread_name FROM v_forums",,,,,,,,,""
2012-06-09 12:43:52.696
CEST,"forum","forum",2228,"127.0.0.1:55758",4fd328e4.8b4,9,"SET",2012-06-09
12:43:48 CEST,2/185,0,LOG,00000,"execute <unnamed>: SET
application_name = ''",,,,,,,,,""
2012-06-09 12:43:53.080
CEST,"forum","forum",2285,"127.0.0.1:55770",4fd328e8.8ed,9,"idle in
transaction",2012-06-09 12:43:52 CEST,,0,LOG,00000,"disconnection:
session time: 0:00:00.425 user=forum database=forum host=127.0.0.1
port=55770",,,,,,,,,""

Launching GlassFish on Felix platform
INFO: Running GlassFish Version: GlassFish Server Open Source Edition
3.1.2 (build 23)
INFO: Grizzly Framework 1.9.46 started in: 33ms - bound to [0.0.0.0:8181]
INFO: Grizzly Framework 1.9.46 started in: 29ms - bound to [0.0.0.0:4848]
INFO: Grizzly Framework 1.9.46 started in: 47ms - bound to [0.0.0.0:8080]
INFO: Grizzly Framework 1.9.46 started in: 22ms - bound to [0.0.0.0:3700]
INFO: Grizzly Framework 1.9.46 started in: 15ms - bound to [0.0.0.0:7676]
INFO: The Admin Console is already installed, but not yet loaded.
INFO: Registered
org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for
persistence-type = replicated in BackingStoreFactoryRegistry
INFO: Created EjbThreadPoolExecutor with thread-core-pool-size 16
thread-max-pool-size 32 thread-keep-alive-seconds 60
thread-queue-capacity 2147483647 allow-core-thread-timeout false
INFO: SEC1002: Security Manager is OFF.
INFO: SEC1010: Entering Security Startup Service
INFO: SEC1143: Loading policy provider
com.sun.enterprise.security.provider.PolicyWrapper.
INFO: SEC1115: Realm [admin-realm] of classtype
[com.sun.enterprise.security.auth.realm.file.FileRealm] successfully
created.
INFO: SEC1115: Realm [file] of classtype
[com.sun.enterprise.security.auth.realm.file.FileRealm] successfully
created.
INFO: SEC1115: Realm [certificate] of classtype
[com.sun.enterprise.security.auth.realm.certificate.CertificateRealm]
successfully created.
INFO: SEC1115: Realm [jdbcDigestRealm] of classtype
[com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm] successfully
created.
INFO: SEC1011: Security Service(s) Started Successfully
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port
[0.0.0.0:8080]
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port
[0.0.0.0:8181]
INFO: WEB0169: Created HTTP listener [admin-listener] on host/port
[0.0.0.0:4848]
INFO: WEB0171: Created virtual server [server]
INFO: WEB0171: Created virtual server [__asadmin]
INFO: WEB0172: Virtual server [server] loaded default web module []
INFO: Hibernate Validator 4.2.0.Final
INFO: EclipseLink, version: Eclipse Persistence Services -
2.3.2.v20111125-r10461
INFO:
file:/home/x/NetBeansProjects/forum/build/web/WEB-INF/classes/_forumPU
login successful
WARNING: Multiple [2] JMX MBeanServer instances exist, we will use the
server at index [0]WARNING: JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@1e2a099] from index [1] INFO: EJB5181:Portable JNDI names for EJB ThreadsFacade: [java:global/forum/ThreadsFacade, java:global/forum/ThreadsFacade!forum.ThreadsFacade] INFO: EJB5181:Portable JNDI names for EJB UsersFacade: [java:global/forum/UsersFacade, java:global/forum/UsersFacade!forum.UsersFacade] INFO: EJB5181:Portable JNDI names for EJB ForumsPageFacade: [java:global/forum/ForumsPageFacade, java:global/forum/ForumsPageFacade!forum.ForumsPageFacade] INFO: EJB5181:Portable JNDI names for EJB GroupsFacade: [java:global/forum/GroupsFacade, java:global/forum/GroupsFacade!forum.GroupsFacade] INFO: EJB5181:Portable JNDI names for EJB VPostsFacade: [java:global/forum/VPostsFacade!forum.VPostsFacade, java:global/forum/VPostsFacade] INFO: EJB5181:Portable JNDI names for EJB VThreads2Facade: [java:global/forum/VThreads2Facade, java:global/forum/VThreads2Facade!forum.VThreads2Facade] INFO: EJB5181:Portable JNDI names for EJB VThreadsFacade: [java:global/forum/VThreadsFacade, java:global/forum/VThreadsFacade!forum.VThreadsFacade] INFO: EJB5181:Portable JNDI names for EJB PostsFacade: [java:global/forum/PostsFacade, java:global/forum/PostsFacade!forum.PostsFacade] INFO: EJB5181:Portable JNDI names for EJB ForumCatsFacade: [java:global/forum/ForumCatsFacade, java:global/forum/ForumCatsFacade!forum.ForumCatsFacade] INFO: EJB5181:Portable JNDI names for EJB UserGroupsFacade: [java:global/forum/UserGroupsFacade!forum.UserGroupsFacade, java:global/forum/UserGroupsFacade] INFO: EJB5181:Portable JNDI names for EJB VPostsFacade2: [java:global/forum/VPostsFacade2!forum.VPostsFacade2, java:global/forum/VPostsFacade2] INFO: EJB5181:Portable JNDI names for EJB VUserRoleFacade: [java:global/forum/VUserRoleFacade!forum.VUserRoleFacade, java:global/forum/VUserRoleFacade] INFO: EJB5181:Portable JNDI names for EJB AuthBackingBeanFacade: [java:global/forum/AuthBackingBeanFacade!forum.AuthBackingBeanFacade, java:global/forum/AuthBackingBeanFacade] INFO: WELD-000900 1.1.4 (Final) INFO: Initializing Mojarra 2.1.7 (SNAPSHOT 20120206) for context '/forum' WARNING: JSF1074: Managed bean named 'customerCRUD' has already been registered. Replacing existing managed bean class type forum.CustomerCRUD with forum.CustomerCRUD. INFO: Monitoring jndi:/server/forum/WEB-INF/faces-config.xml for modifications INFO: WEB0671: Loading application [forum] at [/forum] INFO: CORE10010: Loading application forum done in 5,708 ms INFO: GlassFish Server Open Source Edition 3.1.2 (23) startup time : Felix (1,031ms), startup services(6,263ms), total(7,294ms) INFO: JMX005: JMXStartupService had Started JMXConnector on JMXService URL service:jmx:rmi://localhost:8686/jndi/rmi://localhost:8686/jmxrmi INFO: Initiating Jersey application, version 'Jersey: 1.11 12/09/2011 10:27 AM' INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080] INFO: Grizzly Framework 1.9.46 started in: 1ms - bound to [0.0.0.0:8080] INFO: 12:43:52.653 (9) PostgreSQL 9.2devel JDBC4 (build 1000) :
[com.sun.enterprise.v3.admin.DynamicInterceptor@1816407].
WARNING: JMX MBeanServer in use:
[com.sun.enterprise.v3.admin.DynamicInterceptor@1816407] from index
[0]: WARNING: JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@1e2a099] from index [1] INFO: EJB5181:Portable JNDI names for EJB ThreadsFacade: [java:global/forum/ThreadsFacade, java:global/forum/ThreadsFacade!forum.ThreadsFacade] INFO: EJB5181:Portable JNDI names for EJB UsersFacade: [java:global/forum/UsersFacade, java:global/forum/UsersFacade!forum.UsersFacade] INFO: EJB5181:Portable JNDI names for EJB ForumsPageFacade: [java:global/forum/ForumsPageFacade, java:global/forum/ForumsPageFacade!forum.ForumsPageFacade] INFO: EJB5181:Portable JNDI names for EJB GroupsFacade: [java:global/forum/GroupsFacade, java:global/forum/GroupsFacade!forum.GroupsFacade] INFO: EJB5181:Portable JNDI names for EJB VPostsFacade: [java:global/forum/VPostsFacade!forum.VPostsFacade, java:global/forum/VPostsFacade] INFO: EJB5181:Portable JNDI names for EJB VThreads2Facade: [java:global/forum/VThreads2Facade, java:global/forum/VThreads2Facade!forum.VThreads2Facade] INFO: EJB5181:Portable JNDI names for EJB VThreadsFacade: [java:global/forum/VThreadsFacade, java:global/forum/VThreadsFacade!forum.VThreadsFacade] INFO: EJB5181:Portable JNDI names for EJB PostsFacade: [java:global/forum/PostsFacade, java:global/forum/PostsFacade!forum.PostsFacade] INFO: EJB5181:Portable JNDI names for EJB ForumCatsFacade: [java:global/forum/ForumCatsFacade, java:global/forum/ForumCatsFacade!forum.ForumCatsFacade] INFO: EJB5181:Portable JNDI names for EJB UserGroupsFacade: [java:global/forum/UserGroupsFacade!forum.UserGroupsFacade, java:global/forum/UserGroupsFacade] INFO: EJB5181:Portable JNDI names for EJB VPostsFacade2: [java:global/forum/VPostsFacade2!forum.VPostsFacade2, java:global/forum/VPostsFacade2] INFO: EJB5181:Portable JNDI names for EJB VUserRoleFacade: [java:global/forum/VUserRoleFacade!forum.VUserRoleFacade, java:global/forum/VUserRoleFacade] INFO: EJB5181:Portable JNDI names for EJB AuthBackingBeanFacade: [java:global/forum/AuthBackingBeanFacade!forum.AuthBackingBeanFacade, java:global/forum/AuthBackingBeanFacade] INFO: WELD-000900 1.1.4 (Final) INFO: Initializing Mojarra 2.1.7 (SNAPSHOT 20120206) for context '/forum' WARNING: JSF1074: Managed bean named 'customerCRUD' has already been registered. Replacing existing managed bean class type forum.CustomerCRUD with forum.CustomerCRUD. INFO: Monitoring jndi:/server/forum/WEB-INF/faces-config.xml for modifications INFO: WEB0671: Loading application [forum] at [/forum] INFO: CORE10010: Loading application forum done in 5,708 ms INFO: GlassFish Server Open Source Edition 3.1.2 (23) startup time : Felix (1,031ms), startup services(6,263ms), total(7,294ms) INFO: JMX005: JMXStartupService had Started JMXConnector on JMXService URL service:jmx:rmi://localhost:8686/jndi/rmi://localhost:8686/jmxrmi INFO: Initiating Jersey application, version 'Jersey: 1.11 12/09/2011 10:27 AM' INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080] INFO: Grizzly Framework 1.9.46 started in: 1ms - bound to [0.0.0.0:8080] INFO: 12:43:52.653 (9) PostgreSQL 9.2devel JDBC4 (build 1000)
WARNING: JMX MBeanServer in use:
[com.sun.jmx.mbeanserver.JmxMBeanServer@1e2a099] from index [1]
INFO: EJB5181:Portable JNDI names for EJB ThreadsFacade:
[java:global/forum/ThreadsFacade,
java:global/forum/ThreadsFacade!forum.ThreadsFacade]
INFO: EJB5181:Portable JNDI names for EJB UsersFacade:
[java:global/forum/UsersFacade,
java:global/forum/UsersFacade!forum.UsersFacade]
INFO: EJB5181:Portable JNDI names for EJB ForumsPageFacade:
[java:global/forum/ForumsPageFacade,
java:global/forum/ForumsPageFacade!forum.ForumsPageFacade]
INFO: EJB5181:Portable JNDI names for EJB GroupsFacade:
[java:global/forum/GroupsFacade,
java:global/forum/GroupsFacade!forum.GroupsFacade]
INFO: EJB5181:Portable JNDI names for EJB VPostsFacade:
[java:global/forum/VPostsFacade!forum.VPostsFacade,
java:global/forum/VPostsFacade]
INFO: EJB5181:Portable JNDI names for EJB VThreads2Facade:
[java:global/forum/VThreads2Facade,
java:global/forum/VThreads2Facade!forum.VThreads2Facade]
INFO: EJB5181:Portable JNDI names for EJB VThreadsFacade:
[java:global/forum/VThreadsFacade,
java:global/forum/VThreadsFacade!forum.VThreadsFacade]
INFO: EJB5181:Portable JNDI names for EJB PostsFacade:
[java:global/forum/PostsFacade,
java:global/forum/PostsFacade!forum.PostsFacade]
INFO: EJB5181:Portable JNDI names for EJB ForumCatsFacade:
[java:global/forum/ForumCatsFacade,
java:global/forum/ForumCatsFacade!forum.ForumCatsFacade]
INFO: EJB5181:Portable JNDI names for EJB UserGroupsFacade:
[java:global/forum/UserGroupsFacade!forum.UserGroupsFacade,
java:global/forum/UserGroupsFacade]
INFO: EJB5181:Portable JNDI names for EJB VPostsFacade2:
[java:global/forum/VPostsFacade2!forum.VPostsFacade2,
java:global/forum/VPostsFacade2]
INFO: EJB5181:Portable JNDI names for EJB VUserRoleFacade:
[java:global/forum/VUserRoleFacade!forum.VUserRoleFacade,
java:global/forum/VUserRoleFacade]
INFO: EJB5181:Portable JNDI names for EJB AuthBackingBeanFacade:
[java:global/forum/AuthBackingBeanFacade!forum.AuthBackingBeanFacade,
java:global/forum/AuthBackingBeanFacade]
INFO: WELD-000900 1.1.4 (Final)
INFO: Initializing Mojarra 2.1.7 (SNAPSHOT 20120206) for context '/forum'
WARNING: JSF1074: Managed bean named 'customerCRUD' has already been
registered. Replacing existing managed bean class type
forum.CustomerCRUD with forum.CustomerCRUD.
INFO: Monitoring jndi:/server/forum/WEB-INF/faces-config.xml for
modifications
INFO: WEB0671: Loading application [forum] at [/forum]
INFO: CORE10010: Loading application forum done in 5,708 ms
INFO: GlassFish Server Open Source Edition 3.1.2 (23) startup time :
Felix (1,031ms), startup services(6,263ms), total(7,294ms)
INFO: JMX005: JMXStartupService had Started JMXConnector on JMXService
URL service:jmx:rmi://localhost:8686/jndi/rmi://localhost:8686/jmxrmi
INFO: Initiating Jersey application, version 'Jersey: 1.11 12/09/2011 10:27
AM'
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port
[0.0.0.0:8080]
INFO: Grizzly Framework 1.9.46 started in: 1ms - bound to [0.0.0.0:8080]
INFO: 12:43:52.653 (9) PostgreSQL 9.2devel JDBC4 (build 1000)

INFO: getConnection returning org.postgresql.Driver

INFO: REST00001: Listening to REST requests at context: /management/domain
INFO: The Admin Console is already installed, but not yet loaded.
INFO: The Admin Console is starting. Please wait.
INFO: org.postgresql.util.PSQLException: An I/O error occured while
sending to the backend.

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

INFO: at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:553)

INFO: at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:415)

INFO: at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:361)

INFO: at forum.ViewsThread.run(ViewsThread.java:77)

INFO: SQLException: SQLState(08006)

SEVERE: 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:553)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:415)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:361)
at forum.ViewsThread.run(ViewsThread.java:77)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
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:272)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1700)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
... 4 more

SEVERE: at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:281)
SEVERE: at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:553)
SEVERE: at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:415)
SEVERE: at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:361)
SEVERE: at forum.ViewsThread.run(ViewsThread.java:77)
SEVERE: Caused by: java.net.SocketException: Socket closed
SEVERE: at java.net.SocketInputStream.socketRead0(Native Method)
SEVERE: at java.net.SocketInputStream.read(SocketInputStream.java:150)
SEVERE: at java.net.SocketInputStream.read(SocketInputStream.java:121)
SEVERE: at
org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:143)
SEVERE: at
org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:112)
SEVERE: at
org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:71)
SEVERE: at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:272)
SEVERE: at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1700)
SEVERE: at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
SEVERE: ... 4 more
INFO: org.postgresql.util.PSQLException: This connection has been closed.

INFO: at
org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:823)

INFO: at
org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:840)

INFO: at forum.ViewsThread.run(ViewsThread.java:86)

INFO: SQLException: SQLState(08003)

SEVERE: org.postgresql.util.PSQLException: This connection has been closed.
at
org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:823)
at
org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:840)
at forum.ViewsThread.run(ViewsThread.java:86)

SEVERE: at
org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:823)
SEVERE: at
org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:840)
SEVERE: at forum.ViewsThread.run(ViewsThread.java:86)

#2Kevin Grittner
Kevin.Grittner@wicourts.gov
In reply to: wbrana (#1)
Re: BUG #6684: An I/O error occured while sending to the backend

[moving to -jdbc list with bcc to -bugs]

wrote:

PostgreSQL version: 9.1.4

java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode)

What PostgreSQL driver jar?

-Kevin

#3Craig Ringer
craig@2ndquadrant.com
In reply to: wbrana (#1)
Re: An I/O error occured while sending to the backend

On 06/10/2012 05:05 PM, wbrana@gmail.com wrote:

The following bug has been logged on the website:

Bug reference: 6684
Logged by: wbrana
Email address: wbrana@gmail.com
PostgreSQL version: 9.1.4
Operating system: Linux
Description:

I tried to post this to pgsql-jdbc, but it was blocked.

Check the PostgreSQL *server* logs, see if the connection got closed
server-side and if so why.

--
Craig Ringer

#4wbrana
wbrana@gmail.com
In reply to: Kevin Grittner (#2)
Re: [BUGS] BUG #6684: An I/O error occured while sending to the backend

On Mon, Jun 11, 2012 at 3:17 AM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:

[moving to -jdbc list with bcc to -bugs]

 wrote:

What PostgreSQL driver jar?

-Kevin

PostgreSQL 9.2devel JDBC4 (build 1000)

#5wbrana
wbrana@gmail.com
In reply to: Craig Ringer (#3)
Re: An I/O error occured while sending to the backend

On Mon, Jun 11, 2012 at 4:28 AM, Craig Ringer <ringerc@ringerc.id.au> wrote:

Check the PostgreSQL *server* logs, see if the connection got closed
server-side and if so why.

--
Craig Ringer

2012-06-11 11:36:55.511
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,54,"PARSE",2012-06-11
11:36:55 CEST,10/3,6291,DEBUG,00000,"parse <unnamed>: analyze
posts",,,,,,"analyze posts",,"exec_parse_message, postgres.c:1146",""
2012-06-11 11:36:55.511
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,55,"PARSE",2012-06-11
11:36:55 CEST,10/3,6291,DEBUG,00000,"StartTransactionCommand",,,,,,"analyze
posts",,"start_xact_command, postgres.c:2426",""
2012-06-11 11:36:55.511
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,56,"PARSE",2012-06-11
11:36:55 CEST,10/3,6291,DEBUG,00000,"bind <unnamed> to
<unnamed>",,,,,,,,"exec_bind_message, postgres.c:1429",""
2012-06-11 11:36:55.511
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,57,"ANALYZE",2012-06-11
11:36:55 CEST,10/3,6291,LOG,00000,"execute <unnamed>: analyze
posts",,,,,,,,"exec_execute_message, postgres.c:1940",""
2012-06-11 11:36:55.511
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,58,"ANALYZE",2012-06-11
11:36:55 CEST,10/3,6291,DEBUG,00000,"ProcessUtility",,,,,,"analyze
posts",,"PortalRunUtility, pquery.c:1153",""
2012-06-11 11:36:55.511
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,59,"ANALYZE",2012-06-11
11:36:55 CEST,10/3,6291,DEBUG,00000,"analyzing
""forum.posts""",,,,,,"analyze posts",,"do_analyze_rel,
analyze.c:292",""
2012-06-11 11:36:55.532
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,91,"PARSE",2012-06-11
11:36:49 CEST,2/0,0,DEBUG,00000,"parse <unnamed>: SELECT forum_id,
cat_id, cat_name, forum_description, forum_name, login, post_count,
post_created, thread_count, thread_name FROM v_forums",,,,,,"SELECT
forum_id, cat_id, cat_name, forum_description, forum_name, login,
post_count, post_created, thread_count, thread_name FROM
v_forums",,"exec_parse_message, postgres.c:1146",""
2012-06-11 11:36:55.532
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,92,"PARSE",2012-06-11
11:36:49 CEST,2/0,0,DEBUG,00000,"StartTransactionCommand",,,,,,"SELECT
forum_id, cat_id, cat_name, forum_description, forum_name, login,
post_count, post_created, thread_count, thread_name FROM
v_forums",,"start_xact_command, postgres.c:2426",""
2012-06-11 11:36:55.532
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,93,"PARSE",2012-06-11
11:36:49 CEST,2/14,0,DEBUG,00000,"StartTransaction",,,,,,"SELECT
forum_id, cat_id, cat_name, forum_description, forum_name, login,
post_count, post_created, thread_count, thread_name FROM
v_forums",,"ShowTransactionState, xact.c:4316",""
2012-06-11 11:36:55.532
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,94,"PARSE",2012-06-11
11:36:49 CEST,2/14,0,DEBUG,00000,"name: unnamed; blockState:
DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
",,,,,,"SELECT forum_id, cat_id, cat_name, forum_description,
forum_name, login, post_count, post_created, thread_count, thread_name
FROM v_forums",,"ShowTransactionStateRec, xact.c:4354",""
2012-06-11 11:36:55.535
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,95,"PARSE",2012-06-11
11:36:49 CEST,2/14,0,DEBUG,00000,"bind <unnamed> to
<unnamed>",,,,,,,,"exec_bind_message, postgres.c:1429",""
2012-06-11 11:36:55.535
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,96,"SELECT",2012-06-11
11:36:49 CEST,2/14,0,LOG,00000,"execute <unnamed>: SELECT forum_id,
cat_id, cat_name, forum_description, forum_name, login, post_count,
post_created, thread_count, thread_name FROM
v_forums",,,,,,,,"exec_execute_message, postgres.c:1940",""
2012-06-11 11:36:55.535
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,97,"SELECT",2012-06-11
11:36:49 CEST,2/14,0,DEBUG,00000,"CommitTransactionCommand",,,,,,,,"finish_xact_command,
postgres.c:2450",""
2012-06-11 11:36:55.535
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,98,"SELECT",2012-06-11
11:36:49 CEST,2/14,0,DEBUG,00000,"CommitTransaction",,,,,,,,"ShowTransactionState,
xact.c:4316",""
2012-06-11 11:36:55.535
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,99,"SELECT",2012-06-11
11:36:49 CEST,2/14,0,DEBUG,00000,"name: unnamed; blockState:
STARTED; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
",,,,,,,,"ShowTransactionStateRec, xact.c:4354",""
2012-06-11 11:36:55.539
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,100,"PARSE",2012-06-11
11:36:49 CEST,2/0,0,DEBUG,00000,"parse <unnamed>: SET application_name
= ''",,,,,,"SET application_name = ''",,"exec_parse_message,
postgres.c:1146",""
2012-06-11 11:36:55.539
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,101,"PARSE",2012-06-11
11:36:49 CEST,2/0,0,DEBUG,00000,"StartTransactionCommand",,,,,,"SET
application_name = ''",,"start_xact_command, postgres.c:2426",""
2012-06-11 11:36:55.540
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,102,"PARSE",2012-06-11
11:36:49 CEST,2/15,0,DEBUG,00000,"StartTransaction",,,,,,"SET
application_name = ''",,"ShowTransactionState, xact.c:4316",""
2012-06-11 11:36:55.540
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,103,"PARSE",2012-06-11
11:36:49 CEST,2/15,0,DEBUG,00000,"name: unnamed; blockState:
DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
",,,,,,"SET application_name = ''",,"ShowTransactionStateRec,
xact.c:4354",""
2012-06-11 11:36:55.540
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,104,"PARSE",2012-06-11
11:36:49 CEST,2/15,0,DEBUG,00000,"bind <unnamed> to
<unnamed>",,,,,,,,"exec_bind_message, postgres.c:1429",""
2012-06-11 11:36:55.540
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,105,"SET",2012-06-11
11:36:49 CEST,2/15,0,LOG,00000,"execute <unnamed>: SET
application_name = ''",,,,,,,,"exec_execute_message,
postgres.c:1940",""
2012-06-11 11:36:55.540
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,106,"SET",2012-06-11
11:36:49 CEST,2/15,0,DEBUG,00000,"ProcessUtility",,,,,,"SET
application_name = ''",,"PortalRunUtility, pquery.c:1153",""
2012-06-11 11:36:55.540
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,107,"SET",2012-06-11
11:36:49 CEST,2/15,0,DEBUG,00000,"CommitTransactionCommand",,,,,,,,"finish_xact_command,
postgres.c:2450",""
2012-06-11 11:36:55.540
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,108,"SET",2012-06-11
11:36:49 CEST,2/15,0,DEBUG,00000,"CommitTransaction",,,,,,,,"ShowTransactionState,
xact.c:4316",""
2012-06-11 11:36:55.540
CEST,"forum","forum",5275,"127.0.0.1:40359",4fd5bc31.149b,109,"SET",2012-06-11
11:36:49 CEST,2/15,0,DEBUG,00000,"name: unnamed; blockState:
STARTED; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
",,,,,,,,"ShowTransactionStateRec, xact.c:4354",""
2012-06-11 11:36:55.614
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,60,"ANALYZE",2012-06-11
11:36:55 CEST,10/3,6291,DEBUG,00000,"""posts"": scanned 12763 of 12763
pages, containing 1200000 live rows and 27 dead rows; 30000 rows in
sample, 1200000 estimated total rows",,,,,,"analyze
posts",,"acquire_sample_rows, analyze.c:1244",""
2012-06-11 11:36:55.868
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,61,"ANALYZE",2012-06-11
11:36:55 CEST,10/3,6291,DEBUG,00000,"tsvector_stats: target # mces =
1000, bucket width = 144285, # lexemes = 45311, hashtable size =
29291, usable entries = 1483",,,,,,"analyze
posts",,"compute_tsvector_stats, ts_typanalyze.c:330",""
2012-06-11 11:36:55.868
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,62,"ANALYZE",2012-06-11
11:36:55 CEST,10/3,6291,LOG,08006,"could not send data to client:
Broken pipe",,,,,,"analyze posts",,"internal_flush, pqcomm.c:1245",""
2012-06-11 11:36:55.873
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,63,"ANALYZE",2012-06-11
11:36:55 CEST,10/3,6291,DEBUG,00000,"CommitTransactionCommand",,,,,,,,"finish_xact_command,
postgres.c:2450",""
2012-06-11 11:36:55.873
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,64,"idle in
transaction",2012-06-11 11:36:55
CEST,10/3,6291,DEBUG,00000,"shmem_exit(0): 7 callbacks to
make",,,,,,,,"shmem_exit, ipc.c:211",""
2012-06-11 11:36:55.873
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,65,"idle in
transaction",2012-06-11 11:36:55 CEST,,0,DEBUG,00000,"proc_exit(0): 4
callbacks to make",,,,,,,,"proc_exit_prepare, ipc.c:183",""
2012-06-11 11:36:55.873
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,66,"idle in
transaction",2012-06-11 11:36:55 CEST,,0,LOG,00000,"disconnection:
session time: 0:00:00.376 user=forum database=forum host=127.0.0.1
port=40370",,,,,,,,"log_disconnections, postgres.c:4375",""
2012-06-11 11:36:55.873
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,67,"idle in
transaction",2012-06-11 11:36:55
CEST,,0,DEBUG,00000,"exit(0)",,,,,,,,"proc_exit, ipc.c:135",""
2012-06-11 11:36:55.873
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,68,"idle in
transaction",2012-06-11 11:36:55 CEST,,0,DEBUG,00000,"shmem_exit(-1):
0 callbacks to make",,,,,,,,"shmem_exit, ipc.c:211",""
2012-06-11 11:36:55.873
CEST,"forum","forum",5345,"127.0.0.1:40370",4fd5bc37.14e1,69,"idle in
transaction",2012-06-11 11:36:55 CEST,,0,DEBUG,00000,"proc_exit(-1): 0
callbacks to make",,,,,,,,"proc_exit_prepare, ipc.c:183",""