[
https://issues.apache.org/jira/browse/DERBY-7124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17403331#comment-17403331
]
Richard N. Hillegas commented on DERBY-7124:
--------------------------------------------
After pursuing many red herrings, I have come to the conclusion that the
permissions problems are a self-inflicted wound. I have been running in an
environment in which my CLASSPATH variable includes several jar files needed to
build the Derby docs:
{noformat}
/Users/rhillegas/derby/docs/trunk/lib/fop.jar:/Users/rhillegas/derby/docs/trunk/lib/avalon-framework-4.2.0.jar:/Users/rhillegas/derby/docs/trunk/lib/batik-all-1.6.jar
{noformat}
The fop.jar manifest wires in several other jar files:
{noformat}
Class-Path: avalon-framework-4.2.0.jar batik-all-1.6.jar commons-io-1.
1.jar commons-logging-1.0.4.jar fop-hyph.jar serializer-2.7.0.jar ser
vlet-2.2.jar xalan-2.7.0.jar xercesImpl-2.7.1.jar xml-apis-1.3.02.jar
xmlgraphics-commons-1.1.jar
{noformat}
xercesImpl-2.7.1.jar and xml-apis-1.3.02.jar, in turn, contain older versions
of org/apache/xerces/jaxp/DocumentBuilderImpl.class, the class which is
tripping the permissions exception. I believe those old versions are shadowing
the version supplied by JDK 11. When I clear out my CLASSPATH thusly...
{noformat}
export CLASSPATH=
{noformat}
...XMLBindingTest run cleanly under junit-single and junit-core.
> Errors seen while running the junit-all target
> ----------------------------------------------
>
> Key: DERBY-7124
> URL: https://issues.apache.org/jira/browse/DERBY-7124
> Project: Derby
> Issue Type: Task
> Components: Test
> Affects Versions: 10.16.0.0
> Reporter: Richard N. Hillegas
> Assignee: Richard N. Hillegas
> Priority: Major
>
> When I run the following commands...
> {noformat}
> ant clean
> ant all
> ant junit-clean junit-all junitreport
> {noformat}
> ...I see the following output:
> {noformat}
> [junit] Running org.apache.derbyTesting.junit.EnvTest
> [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 5.344 sec
> [junit] Running
> org.apache.derbyTesting.functionTests.tests.derbynet._Suite
> [junit] Tests run: 338, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 342.785 sec
> [junit] Running org.apache.derbyTesting.functionTests.tests.tools._Suite
> [junit] Tests run: 129, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 78.403 sec
> [junit] Running org.apache.derbyTesting.functionTests.tests.demo._Suite
> [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 50.304 sec
> [junit] Running org.apache.derbyTesting.functionTests.tests.lang._Suite
> [junit] Tests run: 3236, Failures: 0, Errors: 1, Skipped: 0, Time
> elapsed: 1,069.957 sec
> [junit] Test org.apache.derbyTesting.functionTests.tests.lang._Suite
> FAILED
> [junit] Running org.apache.derbyTesting.functionTests.tests.jdbcapi._Suite
> [junit] Tests run: 8015, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 1,255.236 sec
> [junit] Running org.apache.derbyTesting.functionTests.tests.store._Suite
> [junit] Tests run: 346, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 542.981 sec
> [junit] Running org.apache.derbyTesting.functionTests.tests.engine._Suite
> [junit] Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 160.282 sec
> [junit] Running
> org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationSuite
> [junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 423.346 sec
> [junit] Running org.apache.derbyTesting.unitTests.junit._Suite
> [junit] Tests run: 169, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 11.151 sec
> [junit] Running
> org.apache.derbyTesting.functionTests.tests.upgradeTests._Suite
> [junit] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 5.176 sec
> [junit] Running
> org.apache.derbyTesting.functionTests.suites.EncryptionSuite
> [junit] Tests run: 203, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 26.483 sec
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)