agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Java VM stalls during
Date: Mon, 27 Dec 2010 03:58:17 -0800 (PST)
Message-ID: <1293451097482-3319259.post@n5.nabble.com> (raw)
In-Reply-To: <AANLkTikzDBVf2E+DDMq2A4V-9sW_i=0=NdrLP76M3L6C@mail.gmail.com>
References: <AANLkTim7a8zeXKQb35bFdSGuGj2WD2x4ZPP9i_Tr+xcy@mail.gmail.com>
	<1291615093757-3293612.post@n5.nabble.com>
	<AANLkTi=yWfCoownj+R8GLgmZp0X8xwF2yDNhhYg0wQs1@mail.gmail.com>
	<1291783942566-3296921.post@n5.nabble.com>
	<1291959132968-3299847.post@n5.nabble.com>
	<AANLkTinctdKu7Ox++p6071ZkDF=V=8DzYWN98-+G8prk@mail.gmail.com>
	<1292519152847-3308239.post@n5.nabble.com>
	<AANLkTimEu8GFtyHNiEzHu=w9fHu1qB9BUuj7NwmuiSVN@mail.gmail.com>
	<1292589940842-3309361.post@n5.nabble.com>
	<AANLkTikzDBVf2E+DDMq2A4V-9sW_i=0=NdrLP76M3L6C@mail.gmail.com>



>>> 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.




view thread (10+ messages)

Message-ID: <1293451097482-3319259.post@n5.nabble.com>
Permalink:  ../1293451097482-3319259.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1293451097482-3319259.post@n5.nabble.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Java VM stalls during
  In-Reply-To: <1293451097482-3319259.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox