pg.ddx.io  pljava-dev@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[Pljava-dev] Re: libpljava
2+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] Re: libpljava
@ 2004-11-10 11:08 
  0 siblings, 0 replies; 2+ messages in thread

From:  @ 2004-11-10 11:08 UTC (permalink / raw)

Nageshwar Rao wrote:

> I am getting this error while installing pl/java
>
>  
>
>  
>
>  
>
> java.sql.SQLException: ERROR:  stat failed on file 'libpljava': No 
> such file or directory
>
>  
>
>         at org.postgresql.core.QueryExecutor.execute(Unknown Source)
>
>         at org.postgresql.Connection.ExecSQL(Unknown Source)
>
>         at org.postgresql.jdbc2.Statement.execute(Unknown Source)
>
>         at 
> org.postgresql.pljava.deploy.Deployer.initJavaHandler(Deployer.java:387)
>
>         at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:271)
>
>  
>
>  
>
> LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_06/jre/lib/i386:/usr/java/j2sdk1.4.2_06/jre/lib/i386/client
>
> CLASSPATH=/home/postgres/pljava/pljava.jar:/home/postgres/pljava/deploy.jar:/opt
>
>  
>
> Help appreciated
>
>
What is your setting of  dynamic_class_path in postgresql.conf?

Regards,
Thomas Hallgren






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

* [Pljava-dev] RE: libpljava
@ 2004-11-15 12:00 
  0 siblings, 0 replies; 2+ messages in thread

From:  @ 2004-11-15 12:00 UTC (permalink / raw)

Rao,
There's a slight bug in the user guide and consequently your
dynamic_library_path is incorrect. That dynamic_library_path must point to
the directory containing the libpljava.so (or libpljava.dll in case of
Windows).

I'll fix the documentation A.S.A.P.

Sorry for the inconvenience.

Regards,
Thomas Hallgren

> -----Original Message-----
> From: Nageshwar Rao [mailto:NageshwarR at PLANETASIA.COM]
> Sent: Monday, November 15, 2004 12:37 PM
> To: 'Thomas Hallgren'
> Subject: RE: libpljava
> 
> Hi,
> The problem unable to start JVM is still there. What I did was fresh
> installation of postgresql and pljava on a new machine with linux as OS.
> dynamic_library_path='$libdir:/home/postgres/pljava/pljava.jar'
> 
> thx
> rao
> 







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


end of thread, other threads:[~2004-11-15 12:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-11-10 11:08 [Pljava-dev] Re: libpljava 
2004-11-15 12:00 [Pljava-dev] RE: libpljava 

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