[Pljava-dev] Failed to create Java VM

From: thhal at mailblocks(dot)com (Thomas Hallgren)
To:
Subject: [Pljava-dev] Failed to create Java VM
Date: 2004-11-08 09:32:52
Message-ID: thhal-0n9VqAgFS30Avm7fbglzA7b6VnNtZFL@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

My guess is that the LD_LIBRARY_PATH seen by the postmaster process is
incorrect. Perhaps you forgot to export it prior to starting the postmaster?
Or, perhaps it doesn?t appoint the needed directories? Normally it should
look something like this:

LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client

The last entry may end with server instead of client depending on your
needs.

Please note that this setting must be in effect for the postmaster process
and not for your client process.

Regards,
Thomas Hallgren

________________________________________
From: Nageshwar Rao [mailto:NageshwarR at PLANETASIA.COM]
Sent: Monday, November 08, 2004 9:51 AM
To: 'Thomas Hallgren'
Subject: RE: [Pljava-dev] Failed to create Java VM

PL/JAVA - PL/JAVA 1.0.0.b5

OS - [postgres at GEML bin]$ uname -a
Linux GEML 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux

JDK - 1.4.2

Regards
Rao

-----Original Message-----
From: Thomas Hallgren [mailto:thhal at mailblocks.com]
Sent: Monday, November 08, 2004 2:08 PM
To: Nageshwar Rao; pljava-dev at gborg.postgresql.org
Subject: RE: [Pljava-dev] Failed to create Java VM

I need some more info in order to help. Which version of PL/Java are you
using and on what OS (platform and version)? What JDK?

Regards,
Thomas Hallgren

________________________________________
From: pljava-dev-bounces at gborg.postgresql.org
[mailto:pljava-dev-bounces at gborg.postgresql.org] On Behalf Of Nageshwar Rao
Sent: Monday, November 08, 2004 8:14 AM
To: 'pljava-dev at gborg.postgresql.org'
Subject: [Pljava-dev] Failed to create Java VM

I have installed pl/java on postgresl 7.4.x. When executing the function ,I
am getting an error

?
LOG:? There was an error trying to initialize the HPI library.
LOG:? Please check your installation, HotSpot does not work correctly
LOG:? when installed in the JDK 1.2 Linux Production Release, or
LOG:? with any JDK 1.1.x release.
ERROR:? Failed to create Java VM
ERROR:? Failed to create Java VM

?
Help is appreciated.
Thanks
Rao

Browse pljava-dev by date

  From Date Subject
Next Message Nageshwar Rao 2004-11-08 10:07:25 [Pljava-dev] Failed to create Java VM
Previous Message Thomas Hallgren 2004-11-08 08:37:43 [Pljava-dev] Failed to create Java VM