db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu" <sean.xx....@gmail.com>
Subject Test fail of derby junit test
Date Thu, 16 Aug 2007 05:25:52 GMT
Hi, guys
I am running the junit test of the latest released derby.
But the test will fail, am i missing something? Thanks very much for your
help.

    [junit] Running
org.apache.derbyTesting.functionTests.tests.lang.StatementPlanCacheTest
    [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 3.781 sec
    [junit] Exception in thread "main" java.security.AccessControlException:
Access denied (java.io.FilePermission D:\at\db-derby-
10.3.1.4-lib\junitvmwatcher647395951.properties write)
    [junit]     at java.security.AccessController.checkPermission(
AccessController.java:107)
    [junit]     at java.lang.SecurityManager.checkPermission(
SecurityManager.java:532)
    [junit]     at java.lang.SecurityManager.checkWrite(SecurityManager.java
:962)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java
:169)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
    [junit]     at java.io.FileWriter.<init>(FileWriter.java:46)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.registerNonCrash
(JUnitTestRunner.java:924)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(
JUnitTestRunner.java:772)
    [junit] Running
org.apache.derbyTesting.functionTests.tests.lang.StatementPlanCacheTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test
org.apache.derbyTesting.functionTests.tests.lang.StatementPlanCacheTestFAILED
(crashed)


-- 
Sean Qiu

Mime
View raw message