[
https://issues.apache.org/jira/browse/DERBY-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496758
]
Kathey Marsden commented on DERBY-2644:
---------------------------------------
Printing the nested exceptions, this one seems to be the source of the trouble:
Adding permission java.util.PropertyPermission "user.dir", "read"; to the
policy file seems to rectify all the errors.
I am rerunning to see if it is perhaps a fluke. I think we would have to
change the documentation to say that this
property is required for backup. I still have no idea, why we sometimes get
this and sometime not.
I am running suites.All a few times to see if it is really fixed.
java.sql.SQLException: The exception 'java.security.AccessControlException:
access denied (java.util.PropertyPermission user.dir read)' was thrown while
evaluating an expression.
at
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)
at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
at
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at
org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
Source)
at
org.apache.derbyTesting.functionTests.tests.store.EncryptionKeyTest.testBackupEncryptedDatabase(EncryptionKeyTest.java:242)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at junit.framework.TestCase.runTest(TestCase.java(Compiled Code))
at junit.framework.TestCase.runBare(TestCase.java(Compiled Code))
at
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java(Compiled
Code))
at junit.framework.TestResult$1.protect(TestResult.java(Inlined
Compiled Code))
at junit.framework.TestResult.runProtected(TestResult.java(Inlined
Compiled Code))
at junit.framework.TestResult.run(TestResult.java(Inlined Compiled
Code))
at junit.framework.TestCase.run(TestCase.java(Compiled Code))
at junit.framework.TestSuite.runTest(TestSuite.java(Inlined Compiled
Code))
at junit.framework.TestSuite.run(TestSuite.java(Compiled Code))
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.framework.TestResult.runProtected(TestResult.java(Compiled
Code))
at junit.extensions.TestSetup.run(TestSetup.java:23)
at junit.framework.TestSuite.runTest(TestSuite.java(Inlined Compiled
Code))
at junit.framework.TestSuite.run(TestSuite.java(Compiled Code))
at junit.framework.TestSuite.runTest(TestSuite.java(Compiled Code))
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at TimeRunner.main(TimeRunner.java:29)
Caused by: ERROR 38000: The exception 'java.security.AccessControlException:
access denied (java.util.PropertyPermission user.dir read)' was thrown while
evaluating an expression.
at org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)
at
org.apache.derby.iapi.error.StandardException.unexpectedUserException(Unknown
Source)
at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown
Source)
at
org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
... 30 more
Caused by: java.security.AccessControlException: access denied
(java.util.PropertyPermission user.dir read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java(Compiled
Code))
at
java.security.AccessController.checkPermission(AccessController.java(Compiled
Code))
at
java.lang.SecurityManager.checkPermission(SecurityManager.java(Compiled Code))
at
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java(Compiled
Code))
at java.lang.System.getProperty(System.java(Inlined Compiled Code))
at java.io.Win32FileSystem.getUserPath(Win32FileSystem.java(Inlined
Compiled Code))
at java.io.Win32FileSystem.resolve(Win32FileSystem.java(Compiled Code))
at java.io.File.getCanonicalPath(File.java(Inlined Compiled Code))
at java.io.File.getCanonicalFile(File.java(Inlined Compiled Code))
at java.io.File.mkdirs(File.java(Compiled Code))
at org.apache.derby.impl.store.raw.RawStore.run(Unknown Source)
at java.security.AccessController.doPrivileged1(Native Method)
at
java.security.AccessController.doPrivileged(AccessController.java(Compiled
Code))
at org.apache.derby.impl.store.raw.RawStore.privMkdirs(Unknown Source)
at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
at org.apache.derby.impl.store.access.RAMAccessManager.backup(Unknown
Source)
at org.apache.derby.impl.db.BasicDatabase.backup(Unknown Source)
at
org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(Unknown Source)
at
org.apache.derby.exe.ac63c241b2x0112x9c7ax6657x00000e3213ef2.g0(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
> 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.