[Pljava-dev] SecurityException on pljava-1.2

Satoshi Nagayasu nagayasus at nttdata.co.jp
Wed Mar 1 23:18:27 UTC 2006


Hi folks,

When I use pljava-1.0 with PostgreSQL 8.0,
my java procedures work fine.

However, when I upgrade PG to 8.1, and pljava to 1.2,
I got the security exception like below:

java.lang.SecurityException: execute on <<ALL FILES>>
        at org.postgresql.pljava.internal.Backend$1.assertPermission(Backend.java:178)
        at org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.nonRecursiveCheck(Backend.java:113)
        at org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.checkPermission(Backend.java:91)
        at java.lang.SecurityManager.checkExec(SecurityManager.java:774)
        at java.lang.Runtime.exec(Runtime.java:563)
        at java.lang.Runtime.exec(Runtime.java:428)
        at java.lang.Runtime.exec(Runtime.java:364)
        at org.postgresql.pljava.restore.Command.execCommand(Command.java:27)
        at org.postgresql.pljava.restore.RestoreDB.execRestore(RestoreDB.java:33)

I guess this is a kind of FAQ, but I can't find any information on the net.
How can I fix this?

Regards,
-- 
NAGAYASU Satoshi <nagayasus at nttdata.co.jp>



More information about the Pljava-dev mailing list