From: | W(dot)Riese at zbw(dot)eu (Riese Wolfgang) |
---|---|
To: | |
Subject: | [Pljava-dev] Problem with PLJava on production machine |
Date: | 2011-03-11 09:10:31 |
Message-ID: | 3A59BB6451C972429019B12996F92DAD02C207D7@frodo.zbw-nett.zbw-kiel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
Hi Bart,
when it comes to strange errors with CentOS or RHEL my fist suggestion is to check whether SELinux is set to Enforce or not (use 'getenforce' to find out).
If it is set to 'Enforcing' I suggest you try it again after setting 'setenforce Permissive'. It probably will work afterwards, also check file permissions.
Regards,
Wolfgang
.........................................................................................................................................
WOLFGANG RIESE
ITE
HH, Raum 415
Tel.: +49 (0)40 42834-240
http://www.zbw.eu
ZBW - Deutsche Zentralbibliothek f?r Wirtschaftswissenschaften
Leibniz-Informationszentrum Wirtschaft
- Standort Hamburg -
Neuer Jungfernstieg 21
20354 Hamburg
.........................................................................................................................................
> -----Urspr?ngliche Nachricht-----
> Von: pljava-dev-bounces at pgfoundry.org [mailto:pljava-dev-
> bounces at pgfoundry.org] Im Auftrag von bartdeman
> Gesendet: Freitag, 11. M?rz 2011 09:39
> An: pljava-dev at pgfoundry.org
> Betreff: [Pljava-dev] Problem with PLJava on production machine
>
> 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.html
> Sent from the PL/Java mailing list archive at Nabble.com.
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pljava-dev
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2011-03-11 09:17:59 | [Pljava-dev] Problem with PLJava on production machine |
Previous Message | bartdeman | 2011-03-11 08:39:09 | [Pljava-dev] Problem with PLJava on production machine |