agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not load library "/usr/local/pgsql/lib/libpljava.so": libjvm.so
Date: Fri, 1 Apr 2005 01:46:30 +0100
Message-ID: <200504010045.j310jRnn001537@localhost.localdomain> (raw)

Hi,

 

 

I?m geting this error when I?m deployng PLJava:

 

export
LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:/usr/java/j2sdk1.4.1_02/jre/lib/i386
/client/:$JAVA_HOME/jre/lib/i386/native_threads:. ; java -cp
/var/lib/pgsql/pljava/deploy.jar:/usr/share/java/postgresql-8.0-310.jdbc3.ja
r org.postgresql.pljava.deploy.Deployer -reinstall -user compiere -database
cmpcs

java.sql.SQLException: ERROR: could not load library
"/var/lib/pgsql/pljava/libpljava.so": libjvm.so: cannot open shared object
file: No such file or directory

        at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorI
mpl.java:1471)

        at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.ja
va:1256)

        at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175)

        at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.j
ava:388)

        at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2St
atement.java:313)

        at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.j
ava:305)

        at
org.postgresql.pljava.deploy.Deployer.initJavaHandlers(Deployer.java:419)

        at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:275)

 

 

Any tips??? 

 

 

 

-----------------------------------------------------------

SO: 

Red Hat 9.0

 

Java Version and RPM:

             

java version "1.4.1_02"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)

Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)

 

j2sdk-1.4.1_02-fcs.rpm

 


Postgres Version (RPM?S):

 

 postgresql-8.0.1-2PGDG

 postgresql-server-8.0.1-2PGDG

 postgresql-libs-8.0.1-2PGDG 

 postgresql-devel-8.0.1-2PGDG

 postgresql-jdbc-8.0.1-2PGDG

 

 

 

 

Thanks in advance,

 

M.P.Garcia

 

___________________________________________
Mentes Virtuais, Lda
Consultoria Inform?tica e Solu??es Multim?dia
3810-106 AVEIRO
Tel.234422875  Fax.234422875
mgarcia at mentesvirtuais.com Visite-nos em http://www.mentesvirtuais.com
<http://www.mentesvirtuais.com/; 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20050401/9e40291d/attachment.html;



view thread (31+ messages)  latest in thread

Message-ID: <200504010045.j310jRnn001537@localhost.localdomain>
Permalink:  ../200504010045.j310jRnn001537@localhost.localdomain/
Also on:    postgresql.org/message-id/200504010045.j310jRnn001537@localhost.localdomain

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.sql.SQLException: ERROR: could not load library "/usr/local/pgsql/lib/libpljava.so": libjvm.so
  In-Reply-To: <200504010045.j310jRnn001537@localhost.localdomain>

* 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