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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.1.4, 10.4.1.3
    • Network Server
    • None
    • SuseLinux 10
      IBM JVM 1.5
    • 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
          1 kB
          Dag H. Wanvik
        2. DERBY-2963-1.stat
          0.1 kB
          Dag H. Wanvik
        3. DERBY-2963-1.diff
          2 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

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

              Dates

                Created:
                Updated:
                Resolved: