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

The server policy needs to grant derbynet.jar more permissions so that sysinfo and drda tracing will work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.2.1
    • Network Server
    • None
    • Regression, Security

    Description

      More permissions need to be granted to derbynet.jar in the server.policy file. David van Couvering reports that if you bring up the server and run the following command:

      java -jar derbyrun.jar server sysinfo

      then you get security exceptions as the sysinfo code, running inside the network jarball tries to read user.dir, user.home, user.name, java.home, and java.class.path.

      Kathey Marsden reports that if you try to run the network server with drda tracing turned on, then you get security exceptions when the server tries to open the trace log file.

      Attachments

        1. derby-3086-01-morePermissions-aa.diff
          10 kB
          Richard N. Hillegas
        2. derby-3086-01-morePermissions-ab.diff
          17 kB
          Richard N. Hillegas
        3. derby-3086-01-morePermissions-ac.diff
          14 kB
          Richard N. Hillegas
        4. derby-3086-02-removeDerbyTesting-aa.diff
          2 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: