agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] Help with pljava on centos 4.4, java 1.5.09, cvs pljava. with src rpm of postgresql 8.2.1
Date: Tue, 23 Jan 2007 17:29:42 -0800
Message-ID: <f08ddf990701231729n580815d6pbed98ec9734f1974@mail.gmail.com> (raw)
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;
view thread (2+ messages) latest in thread
Message-ID: <f08ddf990701231729n580815d6pbed98ec9734f1974@mail.gmail.com>
Permalink: ../f08ddf990701231729n580815d6pbed98ec9734f1974@mail.gmail.com/
Also on: postgresql.org/message-id/f08ddf990701231729n580815d6pbed98ec9734f1974@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] Help with pljava on centos 4.4, java 1.5.09, cvs pljava. with src rpm of postgresql 8.2.1
In-Reply-To: <f08ddf990701231729n580815d6pbed98ec9734f1974@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox