From: John R Pierce Message-ID: <56BE4E7D.9000408@hogranch.com> Date: Fri, 12 Feb 2016 13:28:29 -0800 MIME-Version: 1.0 Subject: [Pljava-dev] deployment feature request Content-Type: text/plain; charset="us-ascii"; Format="flowed" 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@lists.pgfoundry.org http://lists.pgfoundry.org/mailman/listinfo/pljava-dev