From: Jacob Vennervald Madsen <jvm@gopinocchio.com>
To: pgsql-jdbc@postgresql.org
Subject: JDBC driver
Date: Thu, 8 Nov 2001 15:03:57 +0100
Message-ID: <B3872CE9A0AFB34AABEBEEF06016BC48137768@gop-server.GOP-server.local> (raw)
Hi List
I'm running Jakarta tomcat 4.0 on a RedHat 7.1 and I'm using a
Postgresql database.
The system had been running for two weeks without problems but then i
got an exception from tomcat.
This is the exception i got:
2001-11-08 14:23:04,607 ERROR UserDBHandler - Problem executing query
2001-11-08 14:23:04,607 ERROR UserDBHandler - An I/O error has occured
while flushing the output - Exception: java.io.IOException: Broken pipe
Stack Trace:
java.io.IOException: Broken pipe
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:72)
at
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:130)
at org.postgresql.PG_Stream.flush(PG_Stream.java:414)
at org.postgresql.Connection.ExecSQL(Connection.java:464)
at org.postgresql.jdbc2.Statement.execute(Statement.java:294)
at
org.postgresql.jdbc2.Statement.executeQuery(Statement.java:59)
at
org.postgresql.jdbc2.PreparedStatement.executeQuery(PreparedStatement.ja
va:108)
at
com.gopinocchio.gosession.UserDBHandler.selectAllUsers(UserDBHandler.jav
a:709)
at
com.gopinocchio.gosession.UserAdminServlet.doGet(UserAdminServlet.java:1
02)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(Unknown
Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at org.apache.catalina.valves.AccessLogValve.invoke(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at
org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
at org.apache.catalina.connector.http.HttpProcessor.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484)
End of Stack Trace
I had to restart tomcat to make it work again.
I could connect to other parts of the database without problems.
I tried to look in the postgres log but no messages were generated wich
tells me that the connection was never made.
Any ideas?
Jacob Vennervald Madsen
Mobile System Developer
GoPinocchio
Norrebrogade 45
DK-2200 Copenhagen
www.gopinocchio.com
+45 26750106
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: jvm@gopinocchio.com
Subject: Re: JDBC driver
In-Reply-To: <B3872CE9A0AFB34AABEBEEF06016BC48137768@gop-server.GOP-server.local>
References: <B3872CE9A0AFB34AABEBEEF06016BC48137768@gop-server.GOP-server.local>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox