agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feed[Pljava-dev] error pljava1.3
3+ messages / 0 participants
[nested] [flat]
* [Pljava-dev] error pljava1.3
@ 2006-10-15 10:13
0 siblings, 1 reply; 3+ messages in thread
From: @ 2006-10-15 10:13 UTC (permalink / raw)
'm using pljava with an 8.0.8 and I have done all to get it working
shared objects are ok with ldd for pljava.so
my entries in postgresql.conf are:
dynamic_library_path ='$libdir:/home/eg/pljava/'
custom_variable_classes = 'pljava'
pljava.classpath='/home/eg/pljava/pljava.jar'
I have pljava.so and pljava.jar in this directory
I have compiled it fomr source no compile errors and the output from
ldd pljava.so is:
eg at dhcppc13:~/pljava$ ldd pljava.so
linux-gate.so.1 => (0xffffe000)
libjvm.so => /opt/java/jre/lib/i386/client/libjvm.so (0xb7796000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7663000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7641000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb763e000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb762c000)
/lib/ld-linux.so.2 (0x80000000)
then I do createdb test
psql -d test < install.sql
works without problems
but If I want to use the examples.jar the following happens:
test=# SELECT sqlj.install_jar('/home/eg/pljava/examples.jar',
'samples', true);
ERROR: java.sql.SQLException: I/O exception reading jar file: no
protocol: /home/eg/pljava/examples.jar
Did I miss something ?
Regards EWald Geschwinde
^ permalink raw reply [nested|flat] 3+ messages in thread
* [Pljava-dev] error pljava1.3
@ 2006-10-15 10:29
parent:
0 siblings, 1 reply; 3+ messages in thread
From: @ 2006-10-15 10:29 UTC (permalink / raw)
Hi, Ewald,
Ewald Geschwinde wrote:
> but If I want to use the examples.jar the following happens:
> test=# SELECT sqlj.install_jar('/home/eg/pljava/examples.jar',
> 'samples', true);
> ERROR: java.sql.SQLException: I/O exception reading jar file: no
> protocol: /home/eg/pljava/examples.jar
Did you try to add file:// in front of the filename?
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20061015/5fa572d8/attachment.bin;
^ permalink raw reply [nested|flat] 3+ messages in thread
* [Pljava-dev] error pljava1.3
@ 2006-10-15 11:34
parent:
0 siblings, 0 replies; 3+ messages in thread
From: @ 2006-10-15 11:34 UTC (permalink / raw)
yes that was the problem
thought this was a windows specific thing
Shame on me
Regards EWald Geschwinde
Markus Schaber schrieb:
> Hi, Ewald,
>
> Ewald Geschwinde wrote:
>
>
>> but If I want to use the examples.jar the following happens:
>> test=# SELECT sqlj.install_jar('/home/eg/pljava/examples.jar',
>> 'samples', true);
>> ERROR: java.sql.SQLException: I/O exception reading jar file: no
>> protocol: /home/eg/pljava/examples.jar
>>
>
> Did you try to add file:// in front of the filename?
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-10-15 11:34 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-15 10:13 [Pljava-dev] error pljava1.3
2006-10-15 10:29 `
2006-10-15 11:34 `
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox