[Pljava-dev] Re: problems with pl/java

Lists: pljava-dev
From: pmichalek at click(dot)cz ( Petr Michálek )
To:
Subject: [Pljava-dev] Re: problems with pl/java
Date: 2004-11-29 10:57:06
Message-ID: 41AB0082.4090506@click.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Hi,

I tested PLJava with Postgresql 8.0.0beta5 and I get only folowing
exception.

Caused by: org.postgresql.util.PSQLException: An I/O error occured while
sending to the backend
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:142)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:346)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:294)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:249)
at org.jsphere.jdbc.model.ModelHome.commit(ModelHome.java:534)
... 31 more
Caused by: java.io.EOFException
at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:244)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:853)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:139)
... 35 more

In 1 of 10 attempts I noticed, that trigger is fired sucessfully. Tested
with CVS version day by day since 22th November 2004. Older version of
PLJava (with small correction for Postgresql beta3 and beta4) is working.

Regards

Petr Michalek


From: thhal at mailblocks(dot)com (Thomas Hallgren)
To:
Subject: [Pljava-dev] Re: problems with pl/java
Date: 2004-11-29 12:20:51
Message-ID: thhal-0payGAvEtcC4pEQTMe35IkO4qOs7DgO@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Petr,
> Caused by: org.postgresql.util.PSQLException: An I/O error occured while
> sending to the backend
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:142)
>
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:346)
>
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:294)
>
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:249)
>
> at org.jsphere.jdbc.model.ModelHome.commit(ModelHome.java:534)
> ... 31 more
> Caused by: java.io.EOFException
> at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:244)
> at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:853)
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:139)
>
> ... 35 more
>
I'm happy to help and your testing is very valuable. However the
exception you list here is the one thrown by the client and that doesn't
tell me much. I need to know what happened in the server. Do you have a
server log around somewhere or perhaps the stderr from the postmaster
process?

Regards,
Thomas Hallgren