pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
JDBC Error
6+ messages / 6 participants
[nested] [flat]

* JDBC Error
@ 2002-12-23 07:22 Thomas Roemer <thomas@asti-computer.de>
  2002-12-23 11:24 ` Re: JDBC Error Daniel Serodio <daniel@checkforte.com.br>
  0 siblings, 1 reply; 6+ messages in thread

From: Thomas Roemer @ 2002-12-23 07:22 UTC (permalink / raw)
  To: pgsql-jdbc

Hello,

I want to connect linux-kontor to a Postgesql-Database. Everytime I try I get an errormessage like this:

java.sql.SQLException: IOError while reading from Backend: java.net socketexception: Broken Pipe.

I don't know what this mean. I hope somebody can help me.

Thanks in advance,

Thomas

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: JDBC Error
  2002-12-23 07:22 JDBC Error Thomas Roemer <thomas@asti-computer.de>
@ 2002-12-23 11:24 ` Daniel Serodio <daniel@checkforte.com.br>
  0 siblings, 0 replies; 6+ messages in thread

From: Daniel Serodio @ 2002-12-23 11:24 UTC (permalink / raw)
  To: pgsql-jdbc; +Cc: Thomas Roemer <thomas@asti-computer.de>

"Broken pipe" means something closed the socket on the backend. Either
some firewall or somesuch closed the socket or the backend died. Check
the server log for some indication of the cause. If you see "unexpected
EOF on client connection", it means something else closed the socket,
not the server. Hope this helps.

On Mon, 2002-12-23 at 05:22, Thomas Roemer wrote:
> Hello,
> 
> I want to connect linux-kontor to a Postgesql-Database. Everytime I try I get an errormessage like this:
> 
> java.sql.SQLException: IOError while reading from Backend: java.net socketexception: Broken Pipe.
> 
> I don't know what this mean. I hope somebody can help me.
> 
> Thanks in advance,
> 
> Thomas
-- 
[]'s
Daniel Serodio




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* jdbc error
@ 2005-01-13 18:40 mmckenzie@unmc.edu
  2005-01-13 21:04 ` Re: jdbc error Oliver Jowett <oliver@opencloud.com>
  0 siblings, 1 reply; 6+ messages in thread

From: mmckenzie@unmc.edu @ 2005-01-13 18:40 UTC (permalink / raw)
  To: pgsql-jdbc

Hello Again,

I think I've posted this error to the list before but here it is again.

I'm using the 715 jdbc3 driver for pg 7.4 and periodically I receive this 
error:

Error Executing Database Query. An I/O error occured while reading from 
backend - Exception: java.net.SocketException: Connection reset Stack 
Trace: java.net.SocketException: Connection reset at 
java.net.SocketInputStream.read(SocketInputStream.java:168) at 
java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at 
java.io.BufferedInputStream.read(BufferedInputStream.java:201) at 
org.postgresql.core.PGStream.ReceiveChar(PGStream.java:166) at 
org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:127) at 
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:100) at 
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43) at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:517) 
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) 
at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:298) 
at 
coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212) 
at coldfusion.sql.Executive.execu... 
The error occurred on line 11.

I'm using the jdbc driver with cold fusion mx 6.1. 

Is this happening to anyone else or am I the only one?

Thank you.

Mitchell S. McKenzie
Programmer
Learning Environment & Internet Services
University of Nebraska Medical Center
Phone: 402-559-9306
Cell Phone: 402-708-1493

University of Nebraska Medical Center E-mail Confidentiality Disclaimer :
The information in this e-mail is privileged and confidential, intended 
only for the use of the addressee(s) above.
Any unauthorized use or disclosure of this information is prohibited. 
If you have received this e-mail by mistake please delete it and 
immediately contact the sender. 

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: jdbc error
  2005-01-13 18:40 jdbc error mmckenzie@unmc.edu
@ 2005-01-13 21:04 ` Oliver Jowett <oliver@opencloud.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Oliver Jowett @ 2005-01-13 21:04 UTC (permalink / raw)
  To: mmckenzie@unmc.edu; +Cc: pgsql-jdbc

mmckenzie@unmc.edu wrote:

> I'm using the 715 jdbc3 driver for pg 7.4 and periodically I receive 
> this error:
> 
> Error Executing Database Query. An I/O error occured while reading from 
> backend - Exception: java.net.SocketException: Connection reset Stack 
> Trace: java.net.SocketException: Connection reset at 

> Is this happening to anyone else or am I the only one?

This is a TCP-level connection error on the connection to the server. 
The most common cause is a firewall or NAT between the client and the 
server that is dropping the connection after a period of inactivity.

-O



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* JDBC Error
@ 2005-01-21 13:57 Ing. Jhon Carrillo <jdigital@cantv.net>
  2005-01-21 14:42 ` Re: JDBC Error Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Ing. Jhon Carrillo @ 2005-01-21 13:57 UTC (permalink / raw)
  To: pgsql-jdbc

Dear friend,

I want  to create a conection  to postgreSQL database with  "forte for java 4" and  this returns an error message:

************************************************************
Driver cargado
java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getConnection(DriverManager.java:532)
        at java.sql.DriverManager.getConnection(DriverManager.java:171)
        at Prueba.main(Prueba.java:26)

**************************************************************


 this is the code:

*************************************************************************************
import java.sql.*;

public class Prueba
{
   public static void main(String ar[])
   {
        try
        {
            String driver="org.postgresql.Driver";
            Class.forName(driver);
            System.out.println("Driver cargado");
            
            String url="jdbc:tbase://192.168.0.20:5432";
            
            Connection conn=DriverManager.getConnection(url,"postgres","internal");
            System.out.println("conectado");
            
            //Class.forName("org.postgresql.Driver");
            
        }catch(Exception e)
        {
            e.printStackTrace();
        }
   }
    
}


please help me,

thank

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: JDBC Error
  2005-01-21 13:57 JDBC Error Ing. Jhon Carrillo <jdigital@cantv.net>
@ 2005-01-21 14:42 ` Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Kris Jurka @ 2005-01-21 14:42 UTC (permalink / raw)
  To: Ing. Jhon Carrillo <jdigital@cantv.net>; +Cc: pgsql-jdbc



On Fri, 21 Jan 2005, Ing. Jhon Carrillo wrote:

>             String url="jdbc:tbase://192.168.0.20:5432";
>             

This is not a valid postgresql url.  It should look like:

jdbc:postgresql://192.168.0.20:5432/mydbname

Kris Jurka



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2005-01-21 14:42 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-23 07:22 JDBC Error Thomas Roemer <thomas@asti-computer.de>
2002-12-23 11:24 ` Daniel Serodio <daniel@checkforte.com.br>
2005-01-13 18:40 jdbc error mmckenzie@unmc.edu
2005-01-13 21:04 ` Re: jdbc error Oliver Jowett <oliver@opencloud.com>
2005-01-21 13:57 JDBC Error Ing. Jhon Carrillo <jdigital@cantv.net>
2005-01-21 14:42 ` Kris Jurka <books@ejurka.com>

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