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

three test failed with 'java.security.AccessControlException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.4.1.3
    • Fix Version/s: 10.3.1.4, 10.4.1.3
    • Component/s: Test
    • Labels:
      None
    • Urgency:
      Normal
    • Bug behavior facts:
      Regression Test Failure

      Description

      The following tests failed with java.security.AccessControlException:
      derbyall/derbyall.fail:tools/importExportThruIJ.sql
      derbyall/derbyall.fail:i18n/UnicodeEscape_JP.sql
      derbyall/derbyall.fail:i18n/iepnegativetests_ES.sql

      Diff is as following:

                      • Diff file derbyall/derbytools/importExportThruIJ.diff
          • Start: importExportThruIJ jdk1.4.2 derbyall:derbytools 2007-07-24 19:37:56 ***
            838 del
            < 0 rows inserted/updated/deleted
            838a838,839
            > ERROR XJ001: Java exception: 'java.security.AccessControlException: access denied (java.io.FilePermission extout/derby-2925.txt read)'.
            > ERROR XJ001: Java exception: 'access denied (java.io.FilePermission extout/derby-2925.txt read): java.security.AccessControlException'.
            846 del
            < ERROR XIE0S: The export operation was not performed, because the specified output file (extout/derby-2925.txt) already exists. Export processing will not overwrite an existing file, even if the process has permissions to write to that file, due to security concerns, and to avoid accidental file damage. Please either change the output file name in the export procedure arguments to specify a file which does not exist, or delete the existing file, then retry the export operation.
            846a847,848
            > ERROR XJ001: Java exception: 'java.security.AccessControlException: access denied (java.io.FilePermission extout/derby-2925.txt read)'.
            > ERROR XJ001: Java exception: 'access denied (java.io.FilePermission extout/derby-2925.txt read): java.security.AccessControlException'.
            852 del
            < 0 rows inserted/updated/deleted
            852a854,855
            > ERROR XJ001: Java exception: 'java.security.AccessControlException: access denied (java.io.FilePermission extout/derby-2925-query.dat read)'.
            > ERROR XJ001: Java exception: 'access denied (java.io.FilePermission extout/derby-2925-query.dat read): java.security.AccessControlException'.
            860 del
            < ERROR XIE0S: The export operation was not performed, because the specified output file (extout/derby-2925-query.dat) already exists. Export processing will not overwrite an existing file, even if the process has permissions to write to that file, due to security concerns, and to avoid accidental file damage. Please either change the output file name in the export procedure arguments to specify a file which does not exist, or delete the existing file, then retry the export operation.
            860a863,864
            > ERROR XJ001: Java exception: 'java.security.AccessControlException: access denied (java.io.FilePermission extout/derby-2925-query.dat read)'.
            > ERROR XJ001: Java exception: 'access denied (java.io.FilePermission extout/derby-2925-query.dat read): java.security.AccessControlException'.
            878 del
            < 0 rows inserted/updated/deleted
            878a882,883
            > ERROR XJ001: Java exception: 'java.security.AccessControlException: access denied (java.io.FilePermission extout/derby-2925_data.dat read)'.
            > ERROR XJ001: Java exception: 'access denied (java.io.FilePermission extout/derby-2925_data.dat read): java.security.AccessControlException'.
            886 del
            < ERROR XIE0S: The export operation was not performed, because the specified output file (extout/derby-2925_data.dat) already exists. Export processing will not overwrite an existing file, even if the process has permissions to write to that file, due to security concerns, and to avoid accidental file damage. Please either change the output file name in the export procedure arguments to specify a file which does not exist, or delete the existing file, then retry the export operation.
            886a891,892
            > ERROR XJ001: Java exception: 'java.security.AccessControlException: access denied (java.io.FilePermission extout/derby-2925_data.dat read)'.
            > ERROR XJ001: Java exception: 'access denied (java.io.FilePermission extout/derby-2925_data.dat read): java.security.AccessControlException'.
            897 del
            < ERROR XIE0T: The export operation was not performed, because the specified large object auxiliary file (extout/derby-2925_lobs.dat) already exists. Export processing will not overwrite an existing file, even if the process has permissions to write to that file, due to security concerns, and to avoid accidental file damage. Please either change the large object auxiliary file name in the export procedure arguments to specify a file which does not exist, or delete the existing file, then retry the export operation.
            897a903,904
            > ERROR XJ001: Java exception: 'java.security.AccessControlException: access denied (java.io.FilePermission extout/derby-2925_data1.dat read)'.
            > ERROR XJ001: Java exception: 'access denied (java.io.FilePermission extout/derby-2925_data1.dat read): java.security.AccessControlException'.
            Test Failed.
          • End: importExportThruIJ jdk1.4.2 derbyall:derbytools 2007-07-24 19:38:17 ***
                      • Diff file derbyall/i18nTest/UnicodeEscape_JP.diff
          • Start: UnicodeEscape_JP jdk1.4.2 derbyall:i18nTest 2007-07-24 20:52:28 ***
            71 del
            < 0 rows inserted/updated/deleted
            71a71,72
            > ERROR XJ001: Java exception: 'java.security.AccessControlException: access denied (java.io.FilePermission extout/jtest.unl read)'.
            > ERROR XJ001: Java exception: 'access denied (java.io.FilePermission extout/jtest.unl read): java.security.AccessControlException'.
            Test Failed.
          • End: UnicodeEscape_JP jdk1.4.2 derbyall:i18nTest 2007-07-24 20:52:39 ***
                      • Diff file derbyall/i18nTest/iepnegativetests_ES.diff
          • Start: iepnegativetests_ES jdk1.4.2 derbyall:i18nTest 2007-07-24 20:53:49 ***
            48 del
            < ERROR XIE0I: Se ha producido una excepci EnC:>243< n de E/S al grabar datos en el archivo.
            49 del
            < ERROR XJ001: Excepci EnC:>243< n de Java: ': java.io.FileNotFoundException'.
            49a48,49
            > ERROR XJ001: Excepci EnC:>243< n de Java: 'java.security.AccessControlException: access denied (java.io.FilePermission extout/nodir/t1.dat read)'.
            > ERROR XJ001: Excepci EnC:>243< n de Java: ': java.security.AccessControlException'.
            Test Failed.
          • End: iepnegativetests_ES jdk1.4.2 derbyall:i18nTest 2007-07-24 20:54:09 ***

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                moazeni Ramin Moazeni
                Reporter:
                ramand Ramandeep Kaur
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: