db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (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)
Date Tue, 22 May 2007 16:27:19 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497920
] 

Daniel John Debrunner commented on DERBY-2644:
----------------------------------------------

The problem is caused by the upgrade test fixture Changes10_3.testPolicyReloadingProcedure().
If this fixture is not run then no problems are seen.

The fixture calls Policy.getPolicy().refresh() through the builtin procedure SYSCS_UTIL.SYSCS_RELOAD_SECURITY_POLICY.

During the upgrade tests no security manager is installed, so it seems as though the getPolicy().refresh()
is "locking" in some policy with no permissions so that the setting of java.security.policy
gets ignored when the security manager is installed later.

One fix is to have the procedure do nothing if no security manager is installed, that leads
to the tests passing. That seems a reasonable thing to do since performing a refresh() in
that case should be meaningless.

> multiple junit failures during nightly of the form: 2) Encryption Algorithm: defaultjava.security.AccessControlException:
Access denied (java.util.PropertyPermission derby.system.home read)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2644
>                 URL: https://issues.apache.org/jira/browse/DERBY-2644
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.0.0
>         Environment: ibm15 jvm
> ibm 142 jvm
> insane build jar's
>            Reporter: Mike Matrigali
>         Assigned To: Kathey Marsden
>         Attachments: insane_failures.txt
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message