agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Problem with PLJava on production machine
Date: Fri, 11 Mar 2011 00:39:09 -0800 (PST)
Message-ID: <1299832749281-3424689.post@n5.nabble.com> (raw)

Hello,

I am working with PLJava on my development machine fine (win 7).

But when I try to install a jar on the production machine: 
select sqlj.install_jar('file:///tmp/tmengine.jar','tmengine',true)

I always get a java.lang.NullPointerException error

This happens for all jars, even the helloworld example.

Creating and executing this function works fine:

CREATE FUNCTION getsysprop(VARCHAR)
  RETURNS VARCHAR
  AS 'java.lang.System.getProperty'
  LANGUAGE java;
 
SELECT getsysprop('user.home');

This executes correctly and gives me the right result.

Any idea what might be causing this?
Machine runs Centos 5 - 32bit
DB is postgres 8.4
JRE 1.6

Or any suggestions on how I can get more debug info?

Thanks,
Bart







--
View this message in context: http://postgresql.1045698.n5.nabble.com/Problem-with-PLJava-on-production-machine-tp3424689p3424689....
Sent from the PL/Java mailing list archive at Nabble.com.




view thread (12+ messages)  latest in thread

Message-ID: <1299832749281-3424689.post@n5.nabble.com>
Permalink:  ../1299832749281-3424689.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1299832749281-3424689.post@n5.nabble.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] Problem with PLJava on production machine
  In-Reply-To: <1299832749281-3424689.post@n5.nabble.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