From: chantanand at gmail.com (Anantha) Date: Mon, 27 Dec 2010 03:58:17 -0800 (PST) Subject: [Pljava-dev] Java VM stalls during In-Reply-To: References: <1291615093757-3293612.post@n5.nabble.com> <1291783942566-3296921.post@n5.nabble.com> <1291959132968-3299847.post@n5.nabble.com> <1292519152847-3308239.post@n5.nabble.com> <1292589940842-3309361.post@n5.nabble.com> Message-ID: <1293451097482-3319259.post@n5.nabble.com> >>> On FreeBSD you may need to do >>> something like lsof -p . And there are possibly other methods. >>> Using lsof you may want to pipe it through grep lib: lsof -p | >>> 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: 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.