In particular, see the section on "Backups/imports/jars".
---------- Forwarded message ----------
From: <[hidden email]>
Date: Sun, Jul 8, 2018 at 11:22 PM
Subject: Got a security exception calling SQLJ.INSTALL_JAR with Derby 10.14
To: [hidden email]
I got following exception with derby 10.14. This exception does not
occur with derby 10.13 but does occur now that I have upgrade to
[sql] Failed to execute: CALL SQLJ.INSTALL_JAR('./demo.jar',
[sql] java.sql.SQLTransactionRollbackException: The exception
'java.security.AccessControlException: access denied
("java.io.FilePermission" "./demo.jar" "read")' was thrown while
evaluating an expression.
I got the following info in derby.log file.
Wed Jul 04 14:25:03 CST 2018 : Security manager installed using the
Basic server security policy.
Wed Jul 04 14:25:03 CST 2018 : Apache Derby Network Server - 10.14.2.0
- (1828579) started and ready to accept connections on port 1527
The application that is starting the JVM that is running Derby Network
Server has not changed. Only the version of Derby has changed.
So could you please give me any advice to solve the issue ？