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-2153) suites.All falls over with foundation after revision 482433; java.lang.NoClassFoundError: javax.xml.parsers.DocumentBuilderFactory
Date Wed, 06 Dec 2006 18:30:22 GMT
    [ http://issues.apache.org/jira/browse/DERBY-2153?page=comments#action_12456156 ] 
            
Daniel John Debrunner commented on DERBY-2153:
----------------------------------------------

The code that uses DocumentBuilderFactory in junit.XML has this

Class.forName(DocumentBuilderFactory.newInstance().getClass().getName())

I think that could be simplified with:

DocumentBuilderFactory.newInstance().getClass()

and then reading the comments above this line, I wonder if this could have been used instead?

DocumentBuilderFactory.class



> suites.All falls over with foundation after revision 482433; java.lang.NoClassFoundError:
javax.xml.parsers.DocumentBuilderFactory
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2153
>                 URL: http://issues.apache.org/jira/browse/DERBY-2153
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.3.0.0
>         Environment: IBM's wctme5.7 (a.k.a. j9) jcl Foundation libraries (j2MEjdk 1.0)
>            Reporter: Myrna van Lunteren
>         Assigned To: A B
>
> When attempting to run:
> <j9binpath>/j9 -jcl:foun10 -Dderby.system.home=<testhome> -DderbyTesting.serverhost=localhost
-DderbyTesting.clienthost=localhost -DderbyTesting.codeclasses=file:/<classesdir>/ -DderbyTesting.junit=file://unused
-DderbyTesting.antjunit=file://unused -Djava.security.policy=file:/<classesdir>/org/apache/derbyTesting/functionTests/util/derby_tests.policy
-Xbootclasspath/a:<j9libpath>/jdbc.jar -cp <classesdir>;junit.jar junit.textui.TestRunner
org.apache.derbyTesting.functionTests.suites.All 
> The textui.TestRunner keels over with the following error:
> Failed to invoke suite():java.lang.NoClassDefFoundError: javax.xml.parsers.DocumentBuilderFactory
> This happens after, but not before revision 482433. 

-- 
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

        

Mime
View raw message