agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Tests fails
Date: Tue, 27 Jun 2006 10:28:20 +0200
Message-ID: <44A0EC24.9060509@tada.se> (raw)
In-Reply-To: <449EA295.3020600@noos.fr>
References: <449EA295.3020600@noos.fr>

Hi EsSaid,
This is quite odd. It indicates that you don't get proper callbacks for 
the savepoints on that platform. The same configuration (I use Sun Java 
1.4.2_12, PostgreSQL 8.1.4, and pljava 1.3.0) works well on the 
platforms I have access to. Can you provide some more info? The output 
from the backend is always helpful. What kind of JVM are you using?

Regards,
Thomas Hallgren

EsSaid Kharrazen wrote:
> Hello,
>
> I get an exception in the jdbc driver when trying to run the tests 
> org.postgresql.pljava.test.Tester:
>
> org.postgresql.util.PSQLException: ERROR: java.sql.SQLException: 
> sp.checkState: Expected 1, got 0
>         at 
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1527)
>         at 
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1311)
>         at 
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:190)
>         at 
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
>         at 
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:340)
>         at 
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:239)
>         at 
> org.postgresql.pljava.test.Tester.testSavepointSanity(Tester.java:610)
>         at org.postgresql.pljava.test.Tester.main(Tester.java:249)
>
> I am runing the tests on a MacOSX 10.3.9, Java 1.4.2, PostgreSQL 8.1.4, 
> jdbc3 8.1-407 driver and pljava 1.3.0.
> There are two tests which produce de same exception 
> "testSavepointSanity" and "testTransactionRecovery". If I remove theese 
> two tests from Tester.java then all tests are performed.
>
> Is this something that some one has already encounter ?
>
> Thanks for your help.
>  
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>   





view thread (2+ messages)

Message-ID: <44A0EC24.9060509@tada.se>
Permalink:  ../44A0EC24.9060509@tada.se/
Also on:    postgresql.org/message-id/44A0EC24.9060509@tada.se

reply

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 using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Tests fails
  In-Reply-To: <44A0EC24.9060509@tada.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox