Skip site navigation (1) Skip section navigation (2)

JDBC3 "invalid message format" error

From: Mikhail Ts <ts_mike(at)yahoo(dot)ca>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: JDBC3 "invalid message format" error
Date: 2004-03-23 06:02:06
Message-ID: 20040323060206.17576.qmail@web13504.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
I have 2 computers: Linux Debian 2.2.20-idepci + PostgreSQL 7.4.1 and
another WinXP running Java client application. I have a simple DB where
I'm trying to insert large number of records, >1000. This was done for
testing purposes. Problem: every time I run my client program it gets
"invalid message format" error but each time in different place from
content point of view: sometimes it fails after 200 records, sometimes
- after 1000. I have only single connection to DB (checked by ps aux |
postmaster) and actually can continue job using the same SQL Connection
object on which error occured. Any help is appreciated.

stack trace looks like this:
org.postgresql.util.PSQLException: ERROR: invalid message format


	at
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)

	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)

	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)

	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)

	at
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)

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

	at
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)

	at
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:257)



Mikhail.

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

pgsql-jdbc by date

Next:From: Robert GreenDate: 2004-03-23 12:02:50
Subject: Problem with Serializable transactions
Previous:From: Richard BottomsDate: 2004-03-22 22:58:39
Subject: off the list

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group