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

multiple junit failures during nightly of the form: 2) Encryption Algorithm: defaultjava.security.AccessControlException: Access denied (java.util.PropertyPermission derby.system.home read)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.1.4
    • Test
    • None
    • ibm15 jvm
      ibm 142 jvm
      insane build jar's
    • Security

    Description

      Multiple security manager errors labeled with "Encryption Algorithm" but not sure where they are coming from as the actual errors are from
      tearDown, but I assume the real issue is the test that executed before the tearDown. Anyone know how to get more info from the failure?
      I am reporting this separately from DERBY-2555 as it seems that code was backed out and this issue still appeared.

      Here are 2 examples from a build done against 537324 , approximated 5:30pm, pacific time, friday 5/11.
      http://people.apache.org/~fuzzylogic/derby_test_results/main/testlog/ibm142/537324-suites.All_diff.txt
      http://people.apache.org/~fuzzylogic/derby_test_results/main/testlog/ibm15/537324-suites.All_diff.txt

      Here is an example of some of the stacks inline so that searches for the bug will find it:
      2) Encryption Algorithm: defaultjava.security.AccessControlException: access denied (java.util.PropertyPermission derby.system.home read)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1290)
      at java.lang.System.getProperty(System.java:645)
      at org.apache.derbyTesting.junit.BaseTestCase$3.run(BaseTestCase.java:202)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:287)
      at org.apache.derbyTesting.junit.BaseTestCase.getSystemProperty(BaseTestCase.java:198)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDatabase(DropDatabaseSetup.java:88)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:80)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      3) Encryption Algorithm: AES/CBC/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derbyTesting.junit.Decorator$2.setUp(Decorator.java:129)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      4) Encryption Algorithm: AES/CBC/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:559)
      at java.sql.DriverManager.getConnection(DriverManager.java:189)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:76)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:47)
      at org.apache.derbyTesting.junit.TestConfiguration.openConnection(TestConfiguration.java:986)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:57)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      5) Encryption Algorithm: DES/ECB/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derbyTesting.junit.Decorator$2.setUp(Decorator.java:129)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      6) Encryption Algorithm: DES/ECB/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:559)
      at java.sql.DriverManager.getConnection(DriverManager.java:189)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:76)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:47)
      at org.apache.derbyTesting.junit.TestConfiguration.openConnection(TestConfiguration.java:986)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:57)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      7) Encryption Algorithm: DESede/CFB/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derbyTesting.junit.Decorator$2.setUp(Decorator.java:129)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      8) Encryption Algorithm: DESede/CFB/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:559)
      at java.sql.DriverManager.getConnection(DriverManager.java:189)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:76)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:47)
      at org.apache.derbyTesting.junit.TestConfiguration.openConnection(TestConfiguration.java:986)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:57)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      9) Encryption Algorithm: DES/CBC/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derbyTesting.junit.Decorator$2.setUp(Decorator.java:129)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      10) Encryption Algorithm: DES/CBC/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:559)
      at java.sql.DriverManager.getConnection(DriverManager.java:189)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:76)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:47)
      at org.apache.derbyTesting.junit.TestConfiguration.openConnection(TestConfiguration.java:986)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:57)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      11) Encryption Algorithm: Blowfish/CBC/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derbyTesting.junit.Decorator$2.setUp(Decorator.java:129)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      12) Encryption Algorithm: Blowfish/CBC/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:559)
      at java.sql.DriverManager.getConnection(DriverManager.java:189)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:76)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:47)
      at org.apache.derbyTesting.junit.TestConfiguration.openConnection(TestConfiguration.java:986)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:57)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      13) Encryption Algorithm: AES/OFB/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
      at org.apache.derbyTesting.junit.Decorator$2.setUp(Decorator.java:129)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      14) Encryption Algorithm: AES/OFB/NoPaddingjava.sql.SQLException: Java exception: 'access denied (java.io.FilePermission C:\jartest\JarResults.2007-05-11\ibm142_suites.All\system read): java.security.AccessControlException'.
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
      at java.security.AccessController.checkPermission(AccessController.java:476)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:877)
      at java.io.File.exists(File.java:705)
      at java.io.File.mkdirs(File.java:1146)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged1(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:351)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.<init>(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.getPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.access$100(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.getNextStorageFactory(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor$ProviderEnumeration.hasMoreElements(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:559)
      at java.sql.DriverManager.getConnection(DriverManager.java:189)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:76)
      at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:47)
      at org.apache.derbyTesting.junit.TestConfiguration.openConnection(TestConfiguration.java:986)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:57)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)

      Attachments

        1. derby2644_policyreload.txt
          2 kB
          Daniel John Debrunner
        2. insane_failures.txt
          5 kB
          Katherine Marsden

        Activity

          People

            kmarsden Katherine Marsden
            mikem Mike Matrigali
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: