Another possibility is that you have a stray Xerces.jar under your JDK's lib, JRE's lib/ext directory, or somewhere on your CLASSPATH.
alex On 8/1/07, Jens Goldhammer <[EMAIL PROTECTED]> wrote: > > > Hello Tammo, > > I use jdk 1.5.0_12- the latest. > I gave it a try with 1.5.05 (like in the forum specified)... But the same > problem has been occured? > > Do you have another idea?? > > Thanks, > Jens > > > > > > Tammo van Lessen wrote: > > > > Hi Jens, > > > > this might be caused by a JAXP bug[1]. Which JDK version do you use? > > > > Best regards, > > Tammo > > > > [1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6467808 > > > > 2007/8/1, Jens Goldhammer <[EMAIL PROTECTED]>: > >> > >> Hello, > >> > >> I have attached the log file for command: "rake test"... > >> But the stack trace is not included in it (why not?)... > >> > >> at > >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) > >> Caused by: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made > to > >> create > >> or change an object in a way which is incorrect with regard to > >> namespaces. > >> at > >> org.apache.xml.utils.DOMBuilder.startElement(DOMBuilder.java:322) > >> at > >> org.apache.ode.bpel.compiler.bom.DOMBuilderContentHandler.startElemen > >> t(DOMBuilderContentHandler.java:49) > >> at > >> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown > >> Sour > >> ce) > >> at > >> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn > >> own Source) > >> at > >> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s > >> canRootElementHook(Unknown Source) > >> at > >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent > >> Dispatcher.dispatch(Unknown Source) > >> at > >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un > >> known Source) > >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > >> Source) > >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > >> Source) > >> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > >> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > >> Source) > >> at > >> org.apache.ode.bpel.compiler.bom.BpelObjectFactory.parse(BpelObjectFa > >> ctory.java:306) > >> at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:309) > >> ... 14 more > >> [junit] Test org.apache.ode.bpel.compiler_2_0.GoodCompileTestFAILED > >> The following tests failed: > >> org.apache.ode.bpel.compiler_2_0.GoodCompileTest > >> rake aborted! > >> Tests failed! > >> > >> As you can see, the failure is the same like deploying a process on > >> tomcat6. > >> Everbody says that it must be a classpath issue. Is this right? > >> > >> > >> http://www.nabble.com/file/p11941678/rake_test.log rake_test.log > >> > >> > >> > >> Assaf Arkin wrote: > >> > > >> > On 7/31/07, Jens Goldhammer <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > >> >> This works for me. But I think, I cannot build ode correct. The > output > >> of > >> >> > >> >> rake TEST=no package > >> >> > >> >> works fine for me, no errors (a few warnings- Is there a logfile for > >> the > >> >> building to analyze it?). > >> > > >> > > >> > rake TEST=no package > log.txt > >> > > >> > There are only the docs and sources of ode as zip-file in the > >> > target-folder, > >> >> but I cannot see the war-file. Where is it? Or does something fail > >> then? > >> > > >> > > >> > The target directory at the root of the project includes only the > >> JavaDoc > >> > and source distribution, but you can find the Axis2 WAR under > >> > axis2-war/target, JBI under jbi/target, etc. > >> > > >> > Assaf > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Building-of-ODE-with-Buildr-failed...-tf4169237.html#a11941678 > >> Sent from the Apache Ode User mailing list archive at Nabble.com. > >> > >> > > > > > > -- > > Tammo van Lessen - [EMAIL PROTECTED] - http://www.taval.de > > > > > > -- > View this message in context: > http://www.nabble.com/Building-of-ODE-with-Buildr-failed...-tf4169237.html#a11943250 > Sent from the Apache Ode User mailing list archive at Nabble.com. > >
