pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PL/JAVA installation on Suse Linux
2+ messages / 1 participants
[nested] [flat]

* PL/JAVA installation on Suse Linux
@ 2007-10-26 07:51 yogesh <yogesh.arora.daffodil@gmail.com>
  2007-10-26 09:46 ` Re: PL/JAVA installation on Suse Linux yogesh <yogesh.arora.daffodil@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: yogesh @ 2007-10-26 07:51 UTC (permalink / raw)
  To: pgsql-admin

Hello frnds,
      I have installed the Postgres on Linux Platform(suse
Linux)...now i want to install Pl/JAVA in postgres......i done it with
the following command.............


java -cp /usr/share/pljava/deploy.jar:/usr/share/pgsql/
postgresql-8.1-404.jdbc3.jar org.postgresql.pljava.deploy.Deployer -
install -user yogesh -database yogesh -password arora

Now when i run this command ...........I got a Error  message that
is :-


org.postgresql.util.PSQLException: ERROR: could not load library "/usr/
share/pljava/pljava.so": libjvm.so: cannot open shared object file: No
such file or directory
   at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:
1548)
   at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:
1316)
   at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:
212)
   at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:
458)
   at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:
338)
   at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:
329)
   at
org.postgresql.pljava.deploy.Deployer.initJavaHandlers(Deployer.java:
474)
   at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:270)


any body have an Idea about the problem...Please respond asap..


regards,
           Yogesh Arora




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PL/JAVA installation on Suse Linux
  2007-10-26 07:51 PL/JAVA installation on Suse Linux yogesh <yogesh.arora.daffodil@gmail.com>
@ 2007-10-26 09:46 ` yogesh <yogesh.arora.daffodil@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: yogesh @ 2007-10-26 09:46 UTC (permalink / raw)
  To: pgsql-admin

On Oct 26, 12:51 pm, yogesh <yogesh.arora.daffo...@gmail.com> wrote:
> Hello frnds,
>       I have installed the Postgres on Linux Platform(suse
> Linux)...now i want to install Pl/JAVA in postgres......i done it with
> the following command.............
>
> java -cp /usr/share/pljava/deploy.jar:/usr/share/pgsql/
> postgresql-8.1-404.jdbc3.jar org.postgresql.pljava.deploy.Deployer -
> install -user yogesh -database yogesh -password arora
>
> Now when i run this command ...........I got a Error  message that
> is :-
>
> org.postgresql.util.PSQLException: ERROR: could not load library "/usr/
> share/pljava/pljava.so": libjvm.so: cannot open shared object file: No
> such file or directory
>    at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:
> 1548)
>    at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:
> 1316)
>    at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:
> 212)
>    at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:
> 458)
>    at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:
> 338)
>    at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:
> 329)
>    at
> org.postgresql.pljava.deploy.Deployer.initJavaHandlers(Deployer.java:
> 474)
>    at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:270)
>
> any body have an Idea about the problem...Please respond asap..
>
> regards,
>            Yogesh Arora



Hello Frnds,
            My this problem is also been sort out.....

        There was some problem in JAVA_HOME so it was unable to find
out the libjvm.so
i changed the path from simple JAVA_HOME to JROckIT
JAVA_HOME......where it finds the libjvm.so..

Now its running....




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-10-26 09:46 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-10-26 07:51 PL/JAVA installation on Suse Linux yogesh <yogesh.arora.daffodil@gmail.com>
2007-10-26 09:46 ` yogesh <yogesh.arora.daffodil@gmail.com>

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