public inbox for [email protected]  
help / color / mirror / Atom feed
From: John R Pierce <[email protected]>
Subject: [Pljava-dev] deployment feature request
Date: Fri, 12 Feb 2016 13:28:29 -0800
Message-ID: <[email protected]> (raw)

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
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev



view thread (3+ messages)  latest in thread

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: [email protected]
  Cc: [email protected]
  Subject: Re: [Pljava-dev] deployment feature request
  In-Reply-To: <[email protected]>

* 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