You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2006/08/25 01:39:24 UTC
[jira] Created: (DERBY-1761) Several backkup tests fail due to
permisison exception accessing user.dir
Several backkup tests fail due to permisison exception accessing user.dir
--------------------------------------------------------------------------
Key: DERBY-1761
URL: http://issues.apache.org/jira/browse/DERBY-1761
Project: Derby
Issue Type: Bug
Components: Store, Test
Environment: IBM 142 Suse Linux 10 - insane - run from jars
Classpath
/home/djd/derby_testing/out2006-08-23-1659/lib/derbyTesting.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbynet.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbytools.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbyclient.jar:/home/djd/derby/thirdparty/jakarta-oro-2.0.8.jar:/home/djd/junit3.8.2/junit.jar
Reporter: Daniel John Debrunner
Example
> ij(CONNECTION4)> call SYSCS_UTIL.SYSCS_BACKUP_DATABASE('extinout/mybackup2');
> ERROR 38000: The exception 'java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)' was thrown while evaluating an expression.
List of failed tests:
derbyall/encryptionAll/encryptionAll.fail:store/encryptionKey.sql
derbyall/storeall/storeall.fail:store/rollForwardRecovery.sql
derbyall/storeall/storeall.fail:store/backupRestore1.java
derbyall/storeall/storeall.fail:store/OnlineBackupTest1.java
derbyall/storeall/storeall.fail:store/onlineBackupTest2.sql
derbyall/storeall/storeall.fail:store/onlineBackupTest4.sql
derbyall/storeall/storeall.fail:storetests/st_1.sql
derbyall/storeall/storeall.fail:store/RecoveryAfterBackupSetup.java
derbyall/storeall/storeall.fail:store/RecoveryAfterBackup.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (DERBY-1761) Several backkup tests fail due to
permisison exception accessing user.dir
Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1761?page=all ]
Daniel John Debrunner updated DERBY-1761:
-----------------------------------------
Component/s: Regression Test Failure
> Several backkup tests fail due to permisison exception accessing user.dir
> -------------------------------------------------------------------------
>
> Key: DERBY-1761
> URL: http://issues.apache.org/jira/browse/DERBY-1761
> Project: Derby
> Issue Type: Bug
> Components: Store, Test, Regression Test Failure
> Environment: IBM 142 Suse Linux 10 - insane - run from jars
> Classpath
> /home/djd/derby_testing/out2006-08-23-1659/lib/derbyTesting.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbynet.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbytools.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbyclient.jar:/home/djd/derby/thirdparty/jakarta-oro-2.0.8.jar:/home/djd/junit3.8.2/junit.jar
> Reporter: Daniel John Debrunner
>
> Example
> > ij(CONNECTION4)> call SYSCS_UTIL.SYSCS_BACKUP_DATABASE('extinout/mybackup2');
> > ERROR 38000: The exception 'java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)' was thrown while evaluating an expression.
> List of failed tests:
> derbyall/encryptionAll/encryptionAll.fail:store/encryptionKey.sql
> derbyall/storeall/storeall.fail:store/rollForwardRecovery.sql
> derbyall/storeall/storeall.fail:store/backupRestore1.java
> derbyall/storeall/storeall.fail:store/OnlineBackupTest1.java
> derbyall/storeall/storeall.fail:store/onlineBackupTest2.sql
> derbyall/storeall/storeall.fail:store/onlineBackupTest4.sql
> derbyall/storeall/storeall.fail:storetests/st_1.sql
> derbyall/storeall/storeall.fail:store/RecoveryAfterBackupSetup.java
> derbyall/storeall/storeall.fail:store/RecoveryAfterBackup.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (DERBY-1761) Several backkup tests fail due to
permisison exception accessing user.dir
Posted by "Rajesh Kartha (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1761?page=all ]
Rajesh Kartha resolved DERBY-1761.
----------------------------------
Resolution: Fixed
I have verified that these issues no longer exist in the latest IBM 142 release [ build cxia32142-20061124 (SR7)], hence marking this issue resolved.
Derby version tested: 10.2.2.0 - (485682)
> Several backkup tests fail due to permisison exception accessing user.dir
> -------------------------------------------------------------------------
>
> Key: DERBY-1761
> URL: http://issues.apache.org/jira/browse/DERBY-1761
> Project: Derby
> Issue Type: Bug
> Components: Store, Test, Regression Test Failure
> Environment: IBM 142 Suse Linux 10 - insane - run from jars
> Classpath
> /home/djd/derby_testing/out2006-08-23-1659/lib/derbyTesting.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbynet.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbytools.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbyclient.jar:/home/djd/derby/thirdparty/jakarta-oro-2.0.8.jar:/home/djd/junit3.8.2/junit.jar
> Reporter: Daniel John Debrunner
>
> Example
> > ij(CONNECTION4)> call SYSCS_UTIL.SYSCS_BACKUP_DATABASE('extinout/mybackup2');
> > ERROR 38000: The exception 'java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)' was thrown while evaluating an expression.
> List of failed tests:
> derbyall/encryptionAll/encryptionAll.fail:store/encryptionKey.sql
> derbyall/storeall/storeall.fail:store/rollForwardRecovery.sql
> derbyall/storeall/storeall.fail:store/backupRestore1.java
> derbyall/storeall/storeall.fail:store/OnlineBackupTest1.java
> derbyall/storeall/storeall.fail:store/onlineBackupTest2.sql
> derbyall/storeall/storeall.fail:store/onlineBackupTest4.sql
> derbyall/storeall/storeall.fail:storetests/st_1.sql
> derbyall/storeall/storeall.fail:store/RecoveryAfterBackupSetup.java
> derbyall/storeall/storeall.fail:store/RecoveryAfterBackup.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-1761) Several backkup tests fail due to
permisison exception accessing user.dir
Posted by "Myrna van Lunteren (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1761?page=comments#action_12430379 ]
Myrna van Lunteren commented on DERBY-1761:
-------------------------------------------
This is an ibm142 jvm issue - that is, assuming you ran with SR4 or 5.
The problem is, in essence like this:
java.util.propertyPermission is granted in our derby_tests.policy to derbytools.jar - so ij has that permission. Ij calls, (when using the embedded driver), the backup procedures
that execute functions in classes which are in derby.jar. They do a File.mkdirs() (in
Rawstore.java) which in the java code apparently go through getCanonicalPath which
needs user.dir property read permission.
So, in other jvm versions, the propertyPermission user.dir read is apparently passed on the the methods called, with this particular jvm build, it's not.
The ibm PMR I logged this under is: 38746,001,866
A fix has been tested & will be made available with the next SR.
The problem can be worked-around by giving derby.jar the user.dir read permission.
> Several backkup tests fail due to permisison exception accessing user.dir
> -------------------------------------------------------------------------
>
> Key: DERBY-1761
> URL: http://issues.apache.org/jira/browse/DERBY-1761
> Project: Derby
> Issue Type: Bug
> Components: Store, Test, Regression Test Failure
> Environment: IBM 142 Suse Linux 10 - insane - run from jars
> Classpath
> /home/djd/derby_testing/out2006-08-23-1659/lib/derbyTesting.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbynet.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbytools.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbyclient.jar:/home/djd/derby/thirdparty/jakarta-oro-2.0.8.jar:/home/djd/junit3.8.2/junit.jar
> Reporter: Daniel John Debrunner
>
> Example
> > ij(CONNECTION4)> call SYSCS_UTIL.SYSCS_BACKUP_DATABASE('extinout/mybackup2');
> > ERROR 38000: The exception 'java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)' was thrown while evaluating an expression.
> List of failed tests:
> derbyall/encryptionAll/encryptionAll.fail:store/encryptionKey.sql
> derbyall/storeall/storeall.fail:store/rollForwardRecovery.sql
> derbyall/storeall/storeall.fail:store/backupRestore1.java
> derbyall/storeall/storeall.fail:store/OnlineBackupTest1.java
> derbyall/storeall/storeall.fail:store/onlineBackupTest2.sql
> derbyall/storeall/storeall.fail:store/onlineBackupTest4.sql
> derbyall/storeall/storeall.fail:storetests/st_1.sql
> derbyall/storeall/storeall.fail:store/RecoveryAfterBackupSetup.java
> derbyall/storeall/storeall.fail:store/RecoveryAfterBackup.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (DERBY-1761) Several backkup tests fail due to
permisison exception accessing user.dir
Posted by "Dyre Tjeldvoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dyre Tjeldvoll closed DERBY-1761.
---------------------------------
> Several backkup tests fail due to permisison exception accessing user.dir
> -------------------------------------------------------------------------
>
> Key: DERBY-1761
> URL: https://issues.apache.org/jira/browse/DERBY-1761
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Store, Test
> Environment: IBM 142 Suse Linux 10 - insane - run from jars
> Classpath
> /home/djd/derby_testing/out2006-08-23-1659/lib/derbyTesting.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbynet.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbytools.jar:/home/djd/derby_testing/out2006-08-23-1659/lib/derbyclient.jar:/home/djd/derby/thirdparty/jakarta-oro-2.0.8.jar:/home/djd/junit3.8.2/junit.jar
> Reporter: Daniel John Debrunner
>
> Example
> > ij(CONNECTION4)> call SYSCS_UTIL.SYSCS_BACKUP_DATABASE('extinout/mybackup2');
> > ERROR 38000: The exception 'java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)' was thrown while evaluating an expression.
> List of failed tests:
> derbyall/encryptionAll/encryptionAll.fail:store/encryptionKey.sql
> derbyall/storeall/storeall.fail:store/rollForwardRecovery.sql
> derbyall/storeall/storeall.fail:store/backupRestore1.java
> derbyall/storeall/storeall.fail:store/OnlineBackupTest1.java
> derbyall/storeall/storeall.fail:store/onlineBackupTest2.sql
> derbyall/storeall/storeall.fail:store/onlineBackupTest4.sql
> derbyall/storeall/storeall.fail:storetests/st_1.sql
> derbyall/storeall/storeall.fail:store/RecoveryAfterBackupSetup.java
> derbyall/storeall/storeall.fail:store/RecoveryAfterBackup.java
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.