DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25794>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25794 ClassNotFoundException: org.apache.xerces.parsers.SAXParser Summary: ClassNotFoundException: org.apache.xerces.parsers.SAXParser Product: Commons Version: 1.0 Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Dbcp AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Tried to compile dbcp. Adapted the build.properties to include the sax2.jar=../jarLibs/sax2r2.jar that I got from http://www.saxproject.org/. If this is the wrong place to get it from, I suggest to enhance the build.properties.sample with a hint where to get it from... Then, I got: <<compile: compile-test: test: [java] org.apache.commons.dbcp.SQLNestedException: Could not parse configur ation file, cause: [java] java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser [java] at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReade rFactory.java:121) [java] at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReade rFactory.java:96) [java] at org.apache.commons.jocl.JOCLContentHandler.parse(JOCLContentH andler.java:377) [java] at org.apache.commons.jocl.JOCLContentHandler.parse(JOCLContentH andler.java:309) [java] at org.apache.commons.dbcp.PoolingDriver.getConnectionPool(Pooli ngDriver.java:126) [java] at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.j ava:185) [java] at java.sql.DriverManager.getConnection(DriverManager.java:512) [java] at java.sql.DriverManager.getConnection(DriverManager.java:193) [java] at org.apache.commons.dbcp.TestJOCLed.getConnection(TestJOCLed.j ava:87) [java] at org.apache.commons.dbcp.TestConnectionPool$TestThread.run(Tes tConnectionPool.java:467) [java] at java.lang.Thread.run(Thread.java:534) ...>> Finally, I ended up getting Xerces-J-bin.2.6.0.tar.gz from http://xml.apache.org/xerces2-j/download.cgi. with my build.properties adapted to sax2.jar=../jarLibs/xerces-2_6_0/xercesImpl.jar:../jarLibs/xerces-2_6_0/xml-apis.jar:../jarLibs/xerces-2_6_0/xmlParserAPIs.jar it seems to work ==> suggestion: add the "Xerces-J-bin.2.6.0.tar.gz http://xml.apache.org/xerces2-j/download.cgi" to the build.properties.sample --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]