[Pljava-dev] Java VM stalls during

From: chantanand at gmail(dot)com (Anantha)
To:
Subject: [Pljava-dev] Java VM stalls during
Date: 2010-12-27 11:58:17
Message-ID: 1293451097482-3319259.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

>>> On FreeBSD you may need to do
>>> something like lsof -p <pid>. And there are possibly other methods.
>>> Using lsof you may want to pipe it through grep lib: lsof -p <pid> |
>>> grep lib

i don't have "lsof" in system and could not install because of build issue.
But, "ldd" shows "pljava.so" uses "/usr/local/lib/libjvm.so" (which is
symbolic link to "libjvm.so" of jdk1.5.0).

ldd /usr/local/pljava/pljava.so:
<snip>
libjvm.so => /usr/local/lib/libjvm.so (0x800c00000)

file /usr/local/lib/libjvm.so
/usr/local/lib/libjvm.so: symbolic link to
`/usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so'

I have tested "invoke" binary (simple JNI test given by you already) by
linking the same "libjvm.so" and it works. I am not sure why JNI call fail
during "install_jar" from "postgres db" client. Please give your guidance.

Thanks
Ananth

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Java-VM-stalls-during-install-jar-tp3290754p3319259.html
Sent from the PL/Java mailing list archive at Nabble.com.

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Johann 'Myrkraverk' Oskarsson 2010-12-28 15:09:12 [Pljava-dev] Java 6 update
Previous Message Tom Kessler 2010-12-24 00:09:07 [Pljava-dev] NoClassDefFoundError - Postgres Trigger invoking RMI