[Pljava-dev] deployment feature request

From: John R Pierce <pierce(at)hogranch(dot)com>
To:
Subject: [Pljava-dev] deployment feature request
Date: 2016-02-12 21:28:29
Message-ID: 56BE4E7D.9000408@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

In the deployer, it would be handy to catch this exception, and print
the paths of what it was trying to do.

$ java -jar pljava-packaging/target/pljava-pg9.4-amd64-Linux-gpp.jar
/usr/pgsql-9.4/lib/libpljava-so-1.5.0-BETA1.so Exception in thread
"main" java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(File.java:2024)
at org.gjt.cuspy.JarX.extract(JarX.java:692)
at org.gjt.cuspy.JarX.extract(JarX.java:445)
at org.gjt.cuspy.JarX.main(JarX.java:419)

[I ran this as the postgres user, I know I have to run it as root on
redhat/centos since root owns the postgres runtime files and directories]

--
john r pierce, recycling bits in santa cruz

_______________________________________________
Pljava-dev mailing list
Pljava-dev(at)lists(dot)pgfoundry(dot)org
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev

Responses

Browse pljava-dev by date

  From Date Subject
Next Message John R Pierce 2016-02-12 22:40:26 Re: [Pljava-dev] deployment feature request
Previous Message Chapman Flack 2016-02-08 00:56:15 Re: [Pljava-dev] Possible bug in trigger annotations