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-3483) weme 6.1 tests fail with Parsing policy file: jar:file... derby_tests.policy, found unexpected: permission
Date Fri, 29 Feb 2008 18:42:51 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573890#action_12573890

Daniel John Debrunner commented on DERBY-3483:

I think this is a known problem with WEME 6.1.


The reason that those properties need to be set (see the wiki page) is that weme 6.1 doesn't
handle unexpanded properties correctly,
eema.active is just another instance of this bug. Thus modifying the wiki page is probably
the correct approach.

> weme 6.1 tests fail with Parsing policy file: jar:file...  derby_tests.policy, found
unexpected: permission
> -----------------------------------------------------------------------------------------------------------
>                 Key: DERBY-3483
>                 URL: https://issues.apache.org/jira/browse/DERBY-3483
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Security
>    Affects Versions:
>            Reporter: Kathey Marsden
> Most of the J2ME tests failed with security permissions due to problems parsing the policy
file. e.g. 
> + c:/p4/marsden_trunk/weme6.1/bin/j9 -jcl:foun11 -DderbyTesting.serverhost=localhost
>  -Xbootclasspath/a:c:/p4/marsden_trunk/weme6.1/lib/jdbc.jar -Dbootcp=c:/p4/marsden_trunk/weme6.1/lib/jdbc.jar
> ui.TestRunner org.apache.derbyTesting.functionTests.tests.lang.SimpleTest
> Parsing policy file: jar:file:/C:/svn3/trunk/jars/sane/derbyTesting.jar!/org/apache/derbyTesting/functionTests/util/derb
> y_tests.policy, found unexpected: permission
> Could not create and run test suite: java.security.AccessControlException: Access denied
> on getPolicy )
> This was caused by the following checkin.  It is not clear yet which permission is causing
the problem.
> r632125 | djd | 2008-02-28 13:43:25 -0800 (Thu, 28 Feb 2008) | 5 lines
> DERBY-3445 Adds ant targets to run the junit-all tests with EMMA code coverage.
> Fixes some permission issues in tests when running coverage with EMMA.
> DERBY-3153 Allows the junit-all tests to be run with ant 1.7

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

View raw message