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 "A B (JIRA)" <de...@db.apache.org> on 2006/04/04 17:20:45 UTC
[jira] Created: (DERBY-1179) demo/RunClassPathTester.java fails
against IBM wsdd5.6
demo/RunClassPathTester.java fails against IBM wsdd5.6
------------------------------------------------------
Key: DERBY-1179
URL: http://issues.apache.org/jira/browse/DERBY-1179
Project: Derby
Type: Bug
Components: Regression Test Failure
Environment: IBM wsdd5.6
Reporter: A B
Priority: Minor
Fix For: 10.2.0.0
The demo/RunClassPathTester.java fails when run against IBM wsdd5.6. Against jars the diff is:
3 del
< Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: access denied (java.lang.RuntimePermission getProtectionDomain)
3a3
> /C:/cloudtst/jartest/classes/derby.jar
5 del
< Unable to access Protection Domain or Code Source for class class SimpleApp: access denied (java.lang.RuntimePermission getProtectionDomain)
5a5
> /C:/cloudtst/jartest/classes/derbyTesting.jar
Against a classes directory, the diff is similar:
3 del
< Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: access denied (java.lang.RuntimePermission getProtectionDomain)
3a3
> /C:/private/derby_src/classes/
5 del
< Unable to access Protection Domain or Code Source for class class SimpleApp: access denied (java.lang.RuntimePermission getProtectionDomain)
5a5
> /C:/private/derby_src/classes/
--
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
Re: [jira] Created: (DERBY-1179) demo/RunClassPathTester.java fails
against IBM wsdd5.6
Posted by Bryan Pendleton <bp...@amberpoint.com>.
A B (JIRA) wrote:
> demo/RunClassPathTester.java fails against IBM wsdd5.6
This is, I think, very closely related to DERBY-1152, and has to do
with inconsistencies among the permissions granted to the SysInfo
classes in the various permutations of derby_tests.policy.
In this particular case, the issue is that some (most?) JVMs require
a RuntimePermission in order to call getProtectionDomain, but
the IBM wsdd5.6 environment (what is that, exactly?) does not require
such a permission.
I suppose that the best thing to do is to go ahead and commit the
DERBY-1152 fix, which at least makes SysInfo have consistent
permissions in the various packaging formats, and then we can more
easily see where we are with the SysInfo-related problems.
Unless anybody has any more comments on DERBY-1152, I'll commit it today.
It won't fix this problem though, as it doesn't change this particular
permission.
thanks,
bryan
[jira] Resolved: (DERBY-1179) demo/RunClassPathTester.java fails
against IBM wsdd5.6
Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1179?page=all ]
Andrew McIntyre resolved DERBY-1179.
------------------------------------
Resolution: Fixed
Not sure exactly where this showed up, but in some old test results I see this failing in a similar way up to 5/26/06, but by 6/2/06, the failure had disappeared. Recent test results indicate this issue remains resolved. Closing this issue as resolved.
> demo/RunClassPathTester.java fails against IBM wsdd5.6
> ------------------------------------------------------
>
> Key: DERBY-1179
> URL: http://issues.apache.org/jira/browse/DERBY-1179
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure
> Environment: IBM wsdd5.6
> Reporter: A B
> Priority: Minor
> Fix For: 10.2.0.0
>
>
> The demo/RunClassPathTester.java fails when run against IBM wsdd5.6. Against jars the diff is:
> 3 del
> < Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: access denied (java.lang.RuntimePermission getProtectionDomain)
> 3a3
> > /C:/cloudtst/jartest/classes/derby.jar
> 5 del
> < Unable to access Protection Domain or Code Source for class class SimpleApp: access denied (java.lang.RuntimePermission getProtectionDomain)
> 5a5
> > /C:/cloudtst/jartest/classes/derbyTesting.jar
> Against a classes directory, the diff is similar:
> 3 del
> < Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: access denied (java.lang.RuntimePermission getProtectionDomain)
> 3a3
> > /C:/private/derby_src/classes/
> 5 del
> < Unable to access Protection Domain or Code Source for class class SimpleApp: access denied (java.lang.RuntimePermission getProtectionDomain)
> 5a5
> > /C:/private/derby_src/classes/
--
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-1179) demo/RunClassPathTester.java fails
against IBM wsdd5.6
Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1179?page=all ]
Andrew McIntyre closed DERBY-1179.
----------------------------------
> demo/RunClassPathTester.java fails against IBM wsdd5.6
> ------------------------------------------------------
>
> Key: DERBY-1179
> URL: http://issues.apache.org/jira/browse/DERBY-1179
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure
> Environment: IBM wsdd5.6
> Reporter: A B
> Priority: Minor
> Fix For: 10.2.0.0
>
>
> The demo/RunClassPathTester.java fails when run against IBM wsdd5.6. Against jars the diff is:
> 3 del
> < Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: access denied (java.lang.RuntimePermission getProtectionDomain)
> 3a3
> > /C:/cloudtst/jartest/classes/derby.jar
> 5 del
> < Unable to access Protection Domain or Code Source for class class SimpleApp: access denied (java.lang.RuntimePermission getProtectionDomain)
> 5a5
> > /C:/cloudtst/jartest/classes/derbyTesting.jar
> Against a classes directory, the diff is similar:
> 3 del
> < Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: access denied (java.lang.RuntimePermission getProtectionDomain)
> 3a3
> > /C:/private/derby_src/classes/
> 5 del
> < Unable to access Protection Domain or Code Source for class class SimpleApp: access denied (java.lang.RuntimePermission getProtectionDomain)
> 5a5
> > /C:/private/derby_src/classes/
--
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-1179) demo/RunClassPathTester.java fails
against IBM wsdd5.6
Posted by "Rick Hillegas (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1179?page=all ]
Rick Hillegas updated DERBY-1179:
---------------------------------
Urgency: Low
> demo/RunClassPathTester.java fails against IBM wsdd5.6
> ------------------------------------------------------
>
> Key: DERBY-1179
> URL: http://issues.apache.org/jira/browse/DERBY-1179
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure
> Environment: IBM wsdd5.6
> Reporter: A B
> Priority: Minor
> Fix For: 10.2.0.0
>
>
> The demo/RunClassPathTester.java fails when run against IBM wsdd5.6. Against jars the diff is:
> 3 del
> < Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: access denied (java.lang.RuntimePermission getProtectionDomain)
> 3a3
> > /C:/cloudtst/jartest/classes/derby.jar
> 5 del
> < Unable to access Protection Domain or Code Source for class class SimpleApp: access denied (java.lang.RuntimePermission getProtectionDomain)
> 5a5
> > /C:/cloudtst/jartest/classes/derbyTesting.jar
> Against a classes directory, the diff is similar:
> 3 del
> < Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: access denied (java.lang.RuntimePermission getProtectionDomain)
> 3a3
> > /C:/private/derby_src/classes/
> 5 del
> < Unable to access Protection Domain or Code Source for class class SimpleApp: access denied (java.lang.RuntimePermission getProtectionDomain)
> 5a5
> > /C:/private/derby_src/classes/
--
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