From: Christoph Berg <myon@debian.org>
To: Chapman Flack <chap@anastigmatix.net>
To: pgsql-pkg-debian@postgresql.org
Subject: Re: PL/Java 1.5.1_BETA2
Date: Sun, 16 Sep 2018 22:27:33 +0200
Message-ID: <20180916202733.GB30681@msg.df7cb.de> (raw)
In-Reply-To: <20180916201808.GA30681@msg.df7cb.de>
References: <5B96B226.2080803@anastigmatix.net>
<20180915203221.GA19015@msg.df7cb.de>
<5B9D73A2.2090402@anastigmatix.net>
<20180916201808.GA30681@msg.df7cb.de>
Re: To Chapman Flack 2018-09-16 <20180916201808.GA30681@msg.df7cb.de>
> On stretch/amd64, install_jar fails on 9.6 (9.3/4/5 worked):
>
> 20:07:05 + psql -c 'CREATE EXTENSION pljava'
> 20:07:05 CREATE EXTENSION
> 20:07:05 + psql -c 'SELECT sqlj.install_jar('\''file:/usr/share/postgresql/9.6/pljava/pljava-examples-1.5.1-BETA2.jar'\'', '\''examples'\'', true)'
> [...]
> 20:07:07 INFO: 16 Sep 18 18:07:07 org.postgresql.pljava.management.Commands Type id = OID(16686)
> 20:07:07 ERROR: java.lang.ClassNotFoundException: org.postgresql.pljava.example.annotation.ComplexTuple
> 20:07:07 CONTEXT: SQL statement "SELECT javatest.assertHasValues( CAST('(1,2)' AS javatest.complextuple), 1, 2)"
>
> https://pgdgbuild.dus.dg-i.net/job/postgresql-pljava-binaries/3/architecture=amd64,distribution=stre...
The problem on bionic/amd64 is similar, here 9.4 fails after 9.3
passed the tests:
20:06:37 + psql -c 'SELECT sqlj.install_jar('\''file:/usr/share/postgresql/9.4/pljava/pljava-examples-1.5.1-BETA2.jar'\'', '\''examples'\'', true)'
[...]
20:06:38 ERROR: java.lang.ClassNotFoundException: org.postgresql.pljava.example.annotation.Point
20:06:38 CONTEXT: SQL statement "SELECT javatest.assertHasValues(CAST('(1,2)' AS point), 1, 2)"
https://pgdgbuild.dus.dg-i.net/job/postgresql-pljava-binaries/3/architecture=amd64,distribution=bion...
Also, does it have to be that verbose all the time, even if things
worked?
This was all on openjdk-8. On jessie/amd64, openjdk-7 is used:
20:22:24 + java -Dpgsql.pgconfig=/usr/lib/postgresql/9.3/bin/pg_config -Dpgconfig.pkglibdir=debian/postgresql-9.3-pljava/usr/lib/postgresql/9.3/lib -Dpgconfig.sharedir=debian/postgresql-9.3-pljava/usr/share/postgresql/9.3 -jar build-9.3/pljava-pg9.3-amd64-Linux-gpp.jar
20:22:25 Exception in thread "main" java.lang.ClassCastException: sun.org.mozilla.javascript.ConsString cannot be cast to java.lang.String
20:22:25 at org.gjt.cuspy.JarX.extract(JarX.java:670)
20:22:25 at org.gjt.cuspy.JarX.extract(JarX.java:445)
20:22:25 at org.gjt.cuspy.JarX.main(JarX.java:419)
https://pgdgbuild.dus.dg-i.net/job/postgresql-pljava-binaries/3/architecture=amd64,distribution=jess...
The full set of dist/architecture combinations can be see at
https://pgdgbuild.dus.dg-i.net/job/postgresql-pljava-binaries/3/
Please tell me which issues you want a problem report on GitHub for :)
Cheers,
Christoph
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-pkg-debian@postgresql.org
Cc: myon@debian.org, chap@anastigmatix.net
Subject: Re: PL/Java 1.5.1_BETA2
In-Reply-To: <20180916202733.GB30681@msg.df7cb.de>
References: <5B96B226.2080803@anastigmatix.net> <20180915203221.GA19015@msg.df7cb.de> <5B9D73A2.2090402@anastigmatix.net> <20180916201808.GA30681@msg.df7cb.de> <20180916202733.GB30681@msg.df7cb.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox