[Pljava-dev] pljava on x86_64

Lists: pljava-dev
From: nick at mccomputing(dot)co(dot)uk (Nick Snellock)
To:
Subject: [Pljava-dev] pljava on x86_64
Date: 2006-01-12 18:27:02
Message-ID: 200601121827.02485.nick@mccomputing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

I am having a problem with using pljava on SuSE 10.0 running on an x86_64 box.
I have managed to compile and install pljava from source and the install.sql
(suitably amended) successfully runs and installs the schema and functions.
However, running the function to load and run the examples.jar resutls in
postgresql crashing with the following messages recorded in the log:

java.lang.InternalError
at java.util.zip.Inflater.init(Native Method)
at java.util.zip.Inflater.<init>(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:462)
at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(
JavaUtilJarAccessImpl.java:15)
at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:80
9)
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)
ERROR: Java exit monitor failure (final)

Can anyone assist?

Nick


From: thomas at tada(dot)se (Thomas Hallgren)
To:
Subject: [Pljava-dev] pljava on x86_64
Date: 2006-01-12 18:34:55
Message-ID: 43C6A14F.2030509@tada.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Nick,
This is probably a known issue. Read about the "zlib conflict" in the
PL/Java release notes
(http://gborg.postgresql.org/project/pljava/genpage.php?readme) Please
let me know if it helps you solve your problem.

Regards,
Thomas Hallgren

Nick Snellock wrote:
> I am having a problem with using pljava on SuSE 10.0 running on an x86_64 box.
> I have managed to compile and install pljava from source and the install.sql
> (suitably amended) successfully runs and installs the schema and functions.
> However, running the function to load and run the examples.jar resutls in
> postgresql crashing with the following messages recorded in the log:
>
> java.lang.InternalError
> at java.util.zip.Inflater.init(Native Method)
> at java.util.zip.Inflater.<init>(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:462)
> at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(
> JavaUtilJarAccessImpl.java:15)
> at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:80
> 9)
> 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)
> ERROR: Java exit monitor failure (final)
>
> Can anyone assist?
>
> Nick
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>