agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feed[Pljava-dev] Tests fails
2+ messages / 0 participants
[nested] [flat]
* [Pljava-dev] Tests fails
@ 2006-06-25 14:49
0 siblings, 1 reply; 2+ messages in thread
From: @ 2006-06-25 14:49 UTC (permalink / raw)
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* [Pljava-dev] Tests fails
@ 2006-06-27 08:28
parent:
0 siblings, 0 replies; 2+ messages in thread
From: @ 2006-06-27 08:28 UTC (permalink / raw)
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
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-06-27 08:28 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-06-25 14:49 [Pljava-dev] Tests fails
2006-06-27 08:28 `
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox