Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > pljava I/O Erro...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1880 of 1998
Post > Topic >>

pljava I/O Error

by Christian Maier <tomtailor@[EMAIL PROTECTED] > Feb 10, 2008 at 01:23 AM

Hi

I am not sure if this is the right group, but I did not found a better
fitting one. So I hope you can help me. I have Ubuntu with Postgresql
8.2 running. I try to install pljava and have completed the Steps from
http://wiki.tada.se/display/pljava/Posix+Installation
sucessfully. But
I have trouble on installing the example.jar (
http://wiki.tada.se/display/pljava/Sample+Tests
)

Welcome to psql 8.2.6, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

postgres=# SELECT sqlj.install_jar('/usr/lib/postgresql/8.2/pljava/
examples.jar', 'samples',  true);
ERROR:  java.sql.SQLException: I/O exception reading jar file: no
protocol: /usr/lib/postgresql/8.2/pljava/examples.jar

But the file is there:
cikic@[EMAIL PROTECTED]
 ll /usr/lib/postgresql/8.2/pljava/examples.jar
-rw-rw-rw- 1 postgres cikic 42246 2008-02-04 10:32 /usr/lib/postgresql/
8.2/pljava/examples.jar

My postgres.conf ends with:
#---------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#---------------------------------------------------------------------------

#custom_variable_cl***** = ''           # list of custom variable
class names

#pljava
dynamic_library_path ='$libdir:/usr/lib/postgresql/8.2/pljava'
pljava.classpath='/usr/lib/postgresql/8.2/pljava/pljava.jar'
custom_variable_cl***** = 'pljava'


What is the missing thing?

Thank you for help
Christian
 




 1 Posts in Topic:
pljava I/O Error
Christian Maier <tomta  2008-02-10 01:23:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 13:34:11 CDT 2008.