From: | Nageshwar Rao <NageshwarR(at)PLANETASIA(dot)COM> |
---|---|
To: | "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org> |
Cc: | Mohammed Mudassir <MudassirM(at)PLANETASIA(dot)COM> |
Subject: | Loading of native libraries in PLJAVA |
Date: | 2005-03-10 14:58:49 |
Message-ID: | 3214799999CED64882731155DB0AAD922CEA68@MLSW00103 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
We are facing 2 problems in loading files from Pljava.
1. Loading Native C library from Pljava trigger.
From Pljava trigger, we were trying to load native library,
Using System.loadLibrary("<library_name>"), which is
specified in the LD_LIBRARY_PATH.
Also specified the library file under /var/lib/pljava where
all the pljava specifc "*.so" files are located, which has an entry in the
postgresql.conf - dynamic_library_path for
"/var/lib/pljava",
Both theses cases failed to load native library.
we are getting this error in both cases-
UnSatisfiedLinkedError
2. Loading Properties file from trigger. (using
Properties.load(<properties_name.properties>))
We are unable to load properties file from
Properties.load("<properties_name.properties>").
we have included properties file in jar file and installed
the jar and set the jar file in the classpath using "sqlj.set_classpath".
Any light on this.
Thnx
Rao
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-03-10 15:10:36 | Re: postgres 8 settings |
Previous Message | Scott Marlowe | 2005-03-10 14:51:55 | Re: partitionning |