[Pljava-dev] zlib conflict on Debian AMD64 ???

From: J(dot)Kraaijeveld at Askesis(dot)nl (Joost Kraaijeveld)
To:
Subject: [Pljava-dev] zlib conflict on Debian AMD64 ???
Date: 2006-06-22 15:46:51
Message-ID: 1150991211.6071.44.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

On Thu, 2006-06-22 at 16:40 +0200, Thomas Hallgren wrote:
> Ok, I've reported the bug to Sun. Their kindly informed me that they now have a 3 week (!)
> average response time (unless you pay for a support contract). Sigh...
>
> Anyway, the problem seems to be that the old functions are retained although all functions
> has been added under new names. But only on amd64 and only on jdk 1.5.0.
>
> I tried the 1.6.0 beta on amd64. The problem does not exists there so perhaps that's an
> option for you? If not, perhaps you could try and copy the libzip.so from a 1.6.0 beta
> release into your current 1.5.0_07.

Alas, copying did not work (and it not possible to use a beta product in
a production environment):

DEBUG: Using integer_datetimes
DEBUG: Added JVM option string "-Djava.class.path=/usr/lib/postgresql/8.1/lib/pljava.jar"
DEBUG: Added JVM option string "-Dsqlj.defaultconnection=jdbc:default:connection"
DEBUG: Added JVM option string "vfprintf"
DEBUG: Added JVM option string "-Xrs"
DEBUG: Creating JavaVM
DEBUG: JavaVM created
DEBUG: Getting Backend class pljava.jar
java.lang.UnsatisfiedLinkError: getMappedAddr
at java.util.zip.ZipFile.getMappedAddr(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:207)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:70)
at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:579)
at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:546)
at sun.misc.URLClassPath$3.run(URLClassPath.java:324)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:313)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:290)
at sun.misc.URLClassPath.getResource(URLClassPath.java:160)
at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
WARNING: java.lang.UnsatisfiedLinkError: getMappedAddr
DEBUG: Destroying JavaVM...
DEBUG: JavaVM destroyed
ERROR: Unable to load class org/postgresql/pljava/internal/Backend using CLASSPATH '-Djava.class.path=/usr/lib/postgresql/8.1/lib/pljava.jar'

Thanks anyway for the help you offered.

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2006-06-22 15:51:27 [Pljava-dev] zlib conflict on Debian AMD64 ???
Previous Message Thomas Hallgren 2006-06-22 14:40:11 [Pljava-dev] zlib conflict on Debian AMD64 ???