db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject problem with junitreport target
Date Mon, 14 May 2007 15:44:47 GMT
Is there some setup necessary to run the junitreport  ant target.  I am 
getting the permissions errors below.

Thanks

Kathey


[C:/svn2/trunk] ant junitreport
Buildfile: build.xml

junit-init:
    [mkdir] Created dir: C:\svn2\trunk\junit_20070514_0840\testout

junit-sysinfo:

junit-core:
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest
    [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 2.578 sec
    [junit] Exception in thread "main" 
java.security.AccessControlException: access denied 
(java.io.FilePermission C:\sv
n2\trunk\junitvmwatcher27416248.properties write)
    [junit]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java(Compiled 
Code))
    [junit]     at 
java.security.AccessController.checkPermission(AccessController.java:476)
    [junit]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
    [junit]     at 
java.lang.SecurityManager.checkWrite(SecurityManager.java:968)
    [junit]     at 
java.io.FileOutputStream.<init>(FileOutputStream.java:191)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
    [junit]     at java.io.FileWriter.<init>(FileWriter.java:67)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.registerNonCrash(JUnitTestRunner.java:92
4)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:772)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test 
org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest FAILED 
(crashed)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversEmbeddedTest
    [junit] Exception in thread "main" 
java.security.AccessControlException: access denied 
(java.io.FilePermission C:\sv
n2\trunk\junitvmwatcher346838630.properties write)
    [junit]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
    [junit]     at 
java.security.AccessController.checkPermission(AccessController.java:476)
    [junit]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
    [junit]     at 
java.lang.SecurityManager.checkWrite(SecurityManager.java:968)
    [junit]     at 
java.io.FileOutputStream.<init>(FileOutputStream.java:191)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
    [junit]     at java.io.FileWriter.<init>(FileWriter.java:67)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.registerTestCase(JUnitTestRunner.java:94
0)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.access$000(JUnitTestRunner.java:68)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$3.startTest(JUnitTestRunner.java:807)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$4.startTest(JUnitTestRunner.java:1005)
    [junit]     at junit.framework.TestResult.startTest(TestResult.java:151)
    [junit]     at junit.framework.TestResult.run(TestResult.java:103)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversEmbeddedTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversEmbeddedTest 
FAILED (crashed)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversClientTest
    [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 2.532 sec
    [junit] Exception in thread "main" 
java.security.AccessControlException: access denied 
(java.io.FilePermission C:\sv
n2\trunk\junitvmwatcher191710877.properties write)
    [junit]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
    [junit]     at 
java.security.AccessController.checkPermission(AccessController.java:476)
    [junit]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
    [junit]     at 
java.lang.SecurityManager.checkWrite(SecurityManager.java:968)
    [junit]     at 
java.io.FileOutputStream.<init>(FileOutputStream.java:191)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
    [junit]     at java.io.FileWriter.<init>(FileWriter.java:67)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.registerNonCrash(JUnitTestRunner.java:92
4)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:772)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversClientTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversClientTest 
FAILED (crashed)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversAllTest
    [junit] Exception in thread "main" 
java.security.AccessControlException: access denied 
(java.io.FilePermission C:\sv
n2\trunk\junitvmwatcher168247223.properties write)
    [junit]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
    [junit]     at 
java.security.AccessController.checkPermission(AccessController.java:476)
    [junit]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:538)
    [junit]     at 
java.lang.SecurityManager.checkWrite(SecurityManager.java:968)
    [junit]     at 
java.io.FileOutputStream.<init>(FileOutputStream.java:191)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
    [junit]     at java.io.FileWriter.<init>(FileWriter.java:67)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.registerTestCase(JUnitTestRunner.java:94
0)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.access$000(JUnitTestRunner.java:68)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$3.startTest(JUnitTestRunner.java:807)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$4.startTest(JUnitTestRunner.java:1005)
    [junit]     at junit.framework.TestResult.startTest(TestResult.java:151)
    [junit]     at junit.framework.TestResult.run(TestResult.java:103)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversAllTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversAllTest 
FAILED (crashed)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.derbynet._Suite
    [junit] Exception in thread "main" 
java.security.AccessControlException: access denied 
(java.io.FilePermission C:\sv
n2\trunk\junitvmwatcher1867868085.properties write)
    [junit]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java(Compiled 
Code))
    [junit]     at 
java.security.AccessController.checkPermission(AccessController.java(Compiled 
Code))
    [junit]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java(Compiled 
Code))
    [junit]     at 
java.lang.SecurityManager.checkWrite(SecurityManager.java:968)
    [junit]     at 
java.io.FileOutputStream.<init>(FileOutputStream.java:191)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
    [junit]     at java.io.FileWriter.<init>(FileWriter.java:67)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.registerTestCase(JUnitTestRunner.java:94
0)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.access$000(JUnitTestRunner.java:68)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$3.startTest(JUnitTestRunner.java:807)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$4.startTest(JUnitTestRunner.java:1005)
    [junit]     at junit.framework.TestResult.startTest(TestResult.java:151)
    [junit]     at junit.framework.TestResult.run(TestResult.java:103)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.derbynet._Suite
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test 
org.apache.derbyTesting.functionTests.tests.derbynet._Suite FAILED (crashed)
    [junit] Running org.apache.derbyTesting.functionTests.tests.tools._Suite
    [junit] Tests run: 8, Failures: 0, Errors: 7, Time elapsed: 16.61 sec
    [junit] Exception in thread "main" 
java.security.AccessControlException: access denied 
(java.io.FilePermission C:\sv
n2\trunk\junitvmwatcher1530174422.properties write)
    [junit]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java(Compiled 
Code))
    [junit]     at 
java.security.AccessController.checkPermission(AccessController.java(Compiled 
Code))
    [junit]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java(Compiled 
Code))
    [junit]     at 
java.lang.SecurityManager.checkWrite(SecurityManager.java:968)
    [junit]     at 
java.io.FileOutputStream.<init>(FileOutputStream.java:191)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
    [junit]     at java.io.FileWriter.<init>(FileWriter.java:67)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.registerNonCrash(JUnitTestRunner.java:92
4)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:772)
    [junit] Running org.apache.derbyTesting.functionTests.tests.tools._Suite
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test 
org.apache.derbyTesting.functionTests.tests.tools._Suite FAILED (crashed)
    [junit] Running org.apache.derbyTesting.functionTests.tests.lang._Suite
    [junit] Exception in thread "main" 
java.security.AccessControlException: access denied 
(java.io.FilePermission C:\sv
n2\trunk\junitvmwatcher749707877.properties write)
    [junit]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java(Compiled 
Code))
    [junit]     at 
java.security.AccessController.checkPermission(AccessController.java(Compiled 
Code))
    [junit]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java(Compiled 
Code))
    [junit]     at 
java.lang.SecurityManager.checkWrite(SecurityManager.java:968)
    [junit]     at 
java.io.FileOutputStream.<init>(FileOutputStream.java:191)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
    [junit]     at java.io.FileWriter.<init>(FileWriter.java:67)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.registerTestCase(JUnitTestRunner.java:94
0)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.access$000(JUnitTestRunner.java:68)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$3.startTest(JUnitTestRunner.java:807)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$4.startTest(JUnitTestRunner.java:1005)
    [junit]     at junit.framework.TestResult.startTest(TestResult.java:151)
    [junit]     at junit.framework.TestResult.run(TestResult.java:103)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
    [junit] Running org.apache.derbyTesting.functionTests.tests.lang._Suite
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test org.apache.derbyTesting.functionTests.tests.lang._Suite 
FAILED (crashed)
    [junit] Running 
org.apache.derbyTesting.functionTests.tests.jdbcapi._Suite



Mime
View raw message