You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Bryan Pendleton (Jira)" <ji...@apache.org> on 2021/08/07 14:51:00 UTC

[jira] [Commented] (DERBY-7122) java.security.AccessControlException when creating a DB remotely

    [ https://issues.apache.org/jira/browse/DERBY-7122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395240#comment-17395240 ] 

Bryan Pendleton commented on DERBY-7122:
----------------------------------------

Rick, is there a downside to adding the following to our base security policy?

 
{code:java}
grant {
    permission java.lang.RuntimePermission "getenv.SOURCE_DATE_EPOCH", "read";
};
{code}
Art, were you able to confirm that this was a viable workaround for you?

> java.security.AccessControlException when creating a DB remotely
> ----------------------------------------------------------------
>
>                 Key: DERBY-7122
>                 URL: https://issues.apache.org/jira/browse/DERBY-7122
>             Project: Derby
>          Issue Type: Bug
>            Reporter: Art O Cathain
>            Priority: Major
>         Attachments: derby.log
>
>
> Following the tutorial at [https://db.apache.org/derby/docs/10.15/getstart/twwdactivity2.html] I get an AccessControlException in the server log when trying to create a DB (via CONNECT 'jdbc:derby://localhost:1527/seconddb;create=true')
> This is with derby 10.15.2.0 but the same is observed in 10.14
> OS version: Ubuntu 21.04
> Java version:
> openjdk version "11.0.11" 2021-04-20
> OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2)
> OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2, mixed mode)
> but OpenJDK 16 and 17(early access) have the same problem



--
This message was sent by Atlassian Jira
(v8.3.4#803005)