From: J.Kraaijeveld at Askesis.nl (Joost Kraaijeveld) Date: Thu, 22 Jun 2006 15:07:23 +0200 Subject: [Pljava-dev] zlib conflict on Debian AMD64 ??? In-Reply-To: <449A9257.9040608@tada.se> References: <1150963234.5987.11.camel@localhost> <449A52D8.4010208@tada.se> <1150971313.6071.6.camel@localhost> <449A9257.9040608@tada.se> Message-ID: <1150981643.6071.34.camel@localhost> On Thu, 2006-06-22 at 14:51 +0200, Thomas Hallgren wrote: > You seem to have the correct version of zlib. If you do a strings > without the fgrep you will see that all function names are prefixed with > Java_java_util_... Mmmmm. I am afraid: panoramix:/home/jkr/src/pljava-1.3.0# strings /usr/lib/j2sdk1.5-sun/jre/lib/amd64/libzip.so | grep Copyright - deflate 1.1.3 Copyright 1995-1998 Jean-loup Gailly inflate 1.1.3 Copyright 1995-1998 Mark Adler > If possible, could you please replace your src/C/pljava/JNICalls.c with > the attached file, recompile, and then try again (retain your > log_min_messages setting of DEBUG1 or lower). The intended result is a > full java stack trace. Hopefully that will tell us more. > And indeed: 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.InternalError at java.util.zip.Inflater.init(Native Method) at java.util.zip.Inflater.(Inflater.java:75) at java.util.zip.ZipFile.getInflater(ZipFile.java:375) at java.util.zip.ZipFile.getInputStream(ZipFile.java:320) at java.util.zip.ZipFile.getInputStream(ZipFile.java:286) at java.util.jar.JarFile.hasClassPathAttribute(JarFile.java:467) at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(JavaUtilJarAccessImpl.java:15) at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:809) at sun.misc.URLClassPath.getLoader(URLClassPath.java:293) 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 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.InternalError 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 for looking into it though. -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl