Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-7122

java.security.AccessControlException when creating a DB remotely: Permission getenv.SOURCE_DATE_EPOCH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.14.2.0, 10.15.2.0
    • None
    • Store
    • None
    • Normal
    • Security, Seen in production

    Description

      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

      Attachments

        1. derby.log
          28 kB
          Art O Cathain
        2. DERBY_7122.java
          1 kB
          Richard N. Hillegas

        Activity

          People

            Unassigned Unassigned
            artbristol Art O Cathain
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: