pg.ddx.io  pljava-dev@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Java VM stalls during "install_jar"
Date: Fri, 3 Dec 2010 17:20:21 +0530
Message-ID: <AANLkTim7a8zeXKQb35bFdSGuGj2WD2x4ZPP9i_Tr+xcy@mail.gmail.com> (raw)

Hi,



I am trying to write back end function in postgresql DB using pljava. Please

refer all the s/w components details below (all are built for 64-bit
platform):



1. OS -  FreeBSD lab-stor-01.xambala.local 8.0-RELEASE FreeBSD 8.0-RELEASE
#0: Sat Nov 21 15:02:08 UTC 2009
root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
amd64

2. JDK -1.5.0_16-p9 (Downloaded JDK source version 1.5.0 update 16, applied
patch-9.0 through FreeBSD ports and got it built)

3. pljava - 1.4 (Download sources from pg_foundry CVS using V1_4_0 tag and
patched "org.postgresql.pljava/src/C" with latest version for postgresql 8.4
support and got it built)

4. postgresql - 8.4.5



I could install the pljava language in postgress DB through "install.sql"
script

through "psql" client. When i try to install jar, "psql" got hangs and it

didnot respond to Ctrl + C. From postgress DB log, i have found that program

got stall during JVM create at location mentioned below:-



initializeJavaVM,
/usr/local/src/PLJava/org.postgresql.pljava/src/C/pljava/Back

end.c:675



Any help on this issue would be greatly appreciated! Thanks in advance!



PS:

     Before moving to FreeBSD OS, i have tested the same in UBUNTU OS
(2.6.31-

 14-server #48-Ubuntu SMP). I could install jar, could create pljava
function

and execute through "psql".)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20101203/268ad4bf/attachment.html;



Message-ID: <AANLkTim7a8zeXKQb35bFdSGuGj2WD2x4ZPP9i_Tr+xcy@mail.gmail.com>
Permalink:  ../AANLkTim7a8zeXKQb35bFdSGuGj2WD2x4ZPP9i_Tr+xcy@mail.gmail.com/
Also on:    postgresql.org/message-id/AANLkTim7a8zeXKQb35bFdSGuGj2WD2x4ZPP9i_Tr+xcy@mail.gmail.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 "install_jar"
  In-Reply-To: <AANLkTim7a8zeXKQb35bFdSGuGj2WD2x4ZPP9i_Tr+xcy@mail.gmail.com>

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

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