Re: [INTERFACES] JDBC example is not working with Kaffe 1.0b3 - Mailing list pgsql-interfaces

From Peter T Mount
Subject Re: [INTERFACES] JDBC example is not working with Kaffe 1.0b3
Date
Msg-id Pine.LNX.4.04.9812301858230.542-100000@maidast.retep.org.uk
Whole thread Raw
In response to JDBC example is not working with Kaffe 1.0b3  (Constantin Teodorescu <teo@flex.ro>)
List pgsql-interfaces
On Wed, 30 Dec 1998, Constantin Teodorescu wrote:

> I tried to run a JDBC example that come with PostgreSQL 6.4.1 using
> Kaffe 1.0b3 on a RedHat 5.1 i386 Pentium machine
>
> The example was running fine using jdk 1.1.7 but got the following error
> using Kaffe :
>
> java.sql.SQLException: IOError while reading from backend:
> java.io.IOException: The backend has broken the connection. Possibly the
> action you have attempted has caused it to close.
>   at java/lang/Throwable.<init>(37)
>   at java/lang/Exception.<init>(21)
>   at java/sql/SQLException.<init>(21)
>   at java/sql/SQLException.<init>(32)
>   at postgresql/PG_Stream.ReceiveIntegerR(237)
>   at postgresql/Connection.ReceiveFields(761)
>   at postgresql/Connection.ExecSQL(734)
>   at postgresql/Statement.execute(259)
>   at postgresql/Statement.executeQuery(46)
>   at dbt.doexample(46)
>   at dbt.<init>(17)
>   at dbt.main(62)
>
> The example is creating a table, insert some records in it and try to
> query the table.
> The program is making ok the table, the records are inserted fine
> (checked with psql) but it crashes when trying to query the table.
>
> Does somebody knows what could happening?

It looks like Kaffe is having problems with it's IO. I have Redhat 5.2
here, so I'll try it's Kaffe, and see if it has the same problem.

Which one of the examples are you using?

--
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


pgsql-interfaces by date:

Previous
From: Mark
Date:
Subject: auth 4e5a8d74 subscribe pgsql-interfaces mlundquist@bvsdps.com
Next
From: Byron Nikolaidis
Date:
Subject: MINI-UPDATE of ODBC DRIVER v06-40-0002