[Pljava-dev] Help with pljava on centos 4.4, java 1.5.09, cvs pljava. with src rpm of postgresql 8.2.1

From: wgheath at gmail(dot)com (William Heath)
To:
Subject: [Pljava-dev] Help with pljava on centos 4.4, java 1.5.09, cvs pljava. with src rpm of postgresql 8.2.1
Date: 2007-01-24 01:29:42
Message-ID: f08ddf990701231729n580815d6pbed98ec9734f1974@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi All,

I am in quite the quandry with pljava. I continue to get this message:

ERROR: could not load library "/usr/lib/pgsql/pljava.so": libjvm.so: failed
to map segment from shared object: Permission denied

I am using:

centos 4.4
java 1.5.09
src rpm of postgresql 8.2.1
cvs latest of pljava

Any ideas, or anything I could try?

Pertinent entries in /var/lib/pgsql/data/postgresql.conf

dynamic_library_path =
'$libdir:/var/lib/pgsql/org.postgresql.pljava/build/objs'
custom_variable_classes = 'pljava' # list of custom variable
class names
pljava.classpath = '/var/lib/pgsql/org.postgresql.pljava/build/pljava.jar'

ldconfig shows:
[root at DESN-OFF1 ~]# ldconfig -v |grep jvm
libjvm.so -> libjvm.so
[root at DESN-OFF1 ~]# ldconfig -v |grep pljava
/var/lib/pgsql/org.postgresql.pljava/build/objs:

cat /etc/ld.so.conf.d/postgresql.conf
/usr/share/jdk1.5.0_09/jre/lib/i386
/usr/share/jdk1.5.0_09/jre/lib/i386/client
/var/lib/pgsql/org.postgresql.pljava/build/objs

This output was generated when I ran:

-bash-3.00$ psql adempiere < install.sql
CREATE SCHEMA
GRANT
ERROR: could not load library "/usr/lib/pgsql/pljava.so": libjvm.so: failed
to map segment from shared object: Permission denied
ERROR: function sqlj.java_call_handler() does not exist
ERROR: could not load library "/usr/lib/pgsql/pljava.so": libjvm.so: failed
to map segment from shared object: Permission denied
ERROR: function sqlj.javau_call_handler() does not exist
NOTICE: CREATE TABLE will create implicit sequence
"jar_repository_jarid_seq" for serial column "jar_repository.jarid"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"jar_repository_pkey" for table "jar_repository"
NOTICE: CREATE TABLE / UNIQUE will create implicit index
"jar_repository_jarname_key" for table "jar_repository"
CREATE TABLE
GRANT
NOTICE: CREATE TABLE will create implicit sequence "jar_entry_entryid_seq"
for serial column "jar_entry.entryid"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"jar_entry_pkey" for table "jar_entry"
NOTICE: CREATE TABLE / UNIQUE will create implicit index
"jar_entry_jarid_key" for table "jar_entry"
CREATE TABLE
GRANT
ALTER TABLE
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"classpath_entry_pkey" for table "classpath_entry"
CREATE TABLE
GRANT
NOTICE: CREATE TABLE will create implicit sequence
"typemap_entry_mapid_seq" for serial column "typemap_entry.mapid"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"typemap_entry_pkey" for table "typemap_entry"
CREATE TABLE
GRANT
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist
ERROR: language "java" does not exist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20070123/76ef10d7/attachment.html>

Responses

Browse pljava-dev by date

  From Date Subject
Next Message chris 2007-01-24 21:56:55 [Pljava-dev] download via cvs
Previous Message Thomas Hallgren 2007-01-22 11:16:27 [Pljava-dev] Portal object leak