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

AccessControlException: Access denied java.net.SocketPermission <client ip> accept,resolve

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.3.1.4, 10.4.1.3
    • Component/s: Network Server
    • Labels:
      None
    • Environment:
      SuseLinux 10
      IBM JVM 1.5
    • Bug behavior facts:
      Regression

      Description

      I start the server using an ipv4 address

      java derbyrun.jar server start -h x.x.x.x

      Then I connect from a remote client and hit an AccessControlException

      The ip in the exception is that of the client, not the server.

      This setup works in 10.2.2.0.

      Same problem if the hostname is in derby.properties

      Problem can be worked around by using -noSecurityManager when starting the server

        Attachments

        1. DERBY-2963-1.diff
          2 kB
          Dag H. Wanvik
        2. DERBY-2963-1.diff
          1 kB
          Dag H. Wanvik
        3. DERBY-2963-1.stat
          0.1 kB
          Dag H. Wanvik
        4. DERBY-2963-docs-1.diff
          0.9 kB
          Dag H. Wanvik
        5. DERBY-2963-docs-1.stat
          0.0 kB
          Dag H. Wanvik

          Issue Links

            Activity

              People

              • Assignee:
                dagw Dag H. Wanvik
                Reporter:
                djd Daniel John Debrunner
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: