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 15:26:17 GMT

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

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

I'd thought that this issue might be related to the security manager not being setup correctly
for decorators but that doesn't appear to be the case.

With some debugging I see that when installing the security manager after the upgrade tests
that every seems correct but the running code does not have the expected permissions, but
I don't know why ...
I.e.
  derbyTesting.codeclasses  is correct (running from classes)
  java.security.policy is correct (is a URL to the policy file from the classes folder)
  A new security manager is installed ok

Even in the privilege block that installs the security manager trying to access derby.system.home
fails just after the setSecurityManager() call. I think this means it can't be picking the
wrong version of derby (an old release) since this is test code, and the old test code is
not in the classpath.

As Mike has said this problem occurs with just the upgrade tests and the EncryptionSuite which
means the installing of the security manager for the encryption suite is the first time it
is done, which means it should be like any other time and just work!




> 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