From: | thomas at tada(dot)se (Thomas Hallgren) |
---|---|
To: | |
Subject: | [Pljava-dev] Tests fails |
Date: | 2006-06-27 08:28:20 |
Message-ID: | 44A0EC24.9060509@tada.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Eric BOYER | 2006-06-27 13:38:14 | [Pljava-dev] java.lang.OutOfMemoryError |
Previous Message | EsSaid Kharrazen | 2006-06-25 14:49:57 | [Pljava-dev] Tests fails |