agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] language "java" does not exist
Date: Thu, 19 May 2005 16:49:11 -0600
Message-ID: <200505192249.j4JMn0EJ027471@bigmac.hydroblaster.com> (raw)

I'm trying to deploy pljava with postgres 8.0 on Windows XP and failing. The
command I use is:

 

java org.postgresql.pljava.deploy.Deployer -install -host localhost
-database testdb -user postgres -password mypass

 

I receive this error:

 

java.sql.SQLException: ERROR: could not load library "C:/Program
Files/PostgreSQL/8.0/pljava/libpljava.dll": dynamic load error

        at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorI
mpl.java:1471)

        at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.ja
va:1256)

        at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175)

        at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.j
ava:389)

        at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2St
atement.java:314)

        at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.j
ava:306)

        at
org.postgresql.pljava.deploy.Deployer.initJavaHandlers(Deployer.java:419)

        at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:275)

 

 

In the postgress log, it gives me this error:

 

2005-05-19 16:37:17 ERROR:  language "java" does not exist

2005-05-19 16:37:31 ERROR:  could not load library "C:/Program
Files/PostgreSQL/8.0/pljava/libpljava.dll": dynamic load error

2005-05-19 16:37:31 LOG:  could not receive data from client: No connection
could be made because the target machine actively refused it.

 

2005-05-19 16:37:31 LOG:  unexpected EOF on client connection



 

Below is my conf file (w/comments removed):

 

 

custom_variable_classes = 'pljava'

pljava.classpath = 'C:\\Program Files\\PostgreSQL\\8.0\\pljava\\pljava.jar'

 

 

 

listen_addresses = '*'  # what IP interface(s) to listen on; 

                        # defaults to localhost, '*' = any

port = 5432

max_connections = 100

 

shared_buffers = 1000         # min 16, at least max_connections*2, 8KB each

 

log_destination = 'stderr'    # Valid values are combinations of stderr,

                                # syslog and eventlog, depending on

                                # platform.

 

redirect_stderr = true    # Enable capturing of stderr into log files.

 

log_min_messages = info

 

lc_messages = 'C'       # locale for system error message strings

lc_monetary = 'C'       # locale for monetary formatting

lc_numeric = 'C'        # locale for number formatting

lc_time = 'C'                 # locale for time formatting

 

dynamic_library_path = '$libdir;C:\\Program Files\\PostgreSQL\\8.0\\pljava'

 

 

 

 

I am using Java 5 sdk.

 

I could use any suggestions.

 

Terrance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20050519/ec9f9e6f/attachment.html;



view thread (7+ messages)  latest in thread

Message-ID: <200505192249.j4JMn0EJ027471@bigmac.hydroblaster.com>
Permalink:  ../200505192249.j4JMn0EJ027471@bigmac.hydroblaster.com/
Also on:    postgresql.org/message-id/200505192249.j4JMn0EJ027471@bigmac.hydroblaster.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] language "java" does not exist
  In-Reply-To: <200505192249.j4JMn0EJ027471@bigmac.hydroblaster.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox