Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 47630 invoked from network); 6 Dec 2006 18:30:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 18:30:44 -0000 Received: (qmail 40768 invoked by uid 500); 6 Dec 2006 18:30:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 40735 invoked by uid 500); 6 Dec 2006 18:30:51 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 40711 invoked by uid 99); 6 Dec 2006 18:30:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 10:30:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 10:30:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6CA5C7142E4 for ; Wed, 6 Dec 2006 10:30:22 -0800 (PST) Message-ID: <19694353.1165429822442.JavaMail.jira@brutus> Date: Wed, 6 Dec 2006 10:30:22 -0800 (PST) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2153) suites.All falls over with foundation after revision 482433; java.lang.NoClassFoundError: javax.xml.parsers.DocumentBuilderFactory In-Reply-To: <21779172.1165353383182.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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: > /j9 -jcl:foun10 -Dderby.system.home= -DderbyTesting.serverhost=localhost -DderbyTesting.clienthost=localhost -DderbyTesting.codeclasses=file:// -DderbyTesting.junit=file://unused -DderbyTesting.antjunit=file://unused -Djava.security.policy=file://org/apache/derbyTesting/functionTests/util/derby_tests.policy -Xbootclasspath/a:/jdbc.jar -cp ;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