Like others, I thought this sounded like a parser problem... so I tried with a couple of sun jdk levels on my ubuntu linux machine... Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
Both of them worked ok for me (as do the ibm jdks).... How does this compare with your jdk levels ? Regards Dan PS. First time I tried this I forgot to change JAVA_HOME (relying on PATH settings to select the jvm) if you have a JAVA_HOME set it looks like maven will use this jvm regardless of the PATH settings.... I don't think that the failure to download the Woodstox stax parser causes the problem - this happened when I was running mvn too On 05/01/07, Ron Gavlin <[EMAIL PROTECTED]> wrote:
I suspect you are using a Sun 1.4 JDK which bundles the old crimson XML parser rather than the Xerces parser which is bundled in IBM's 1.4 JDK. I believe EMF (and therefore Tuscany SDO) does not support the crimson parser. I suggest you download and configure the latest Apache Xerces 2.x parser ( http://xerces.apache.org). The Xerces site has instructions for configuring the parser with the Sun JDK. FYI, the Sun 1.5 JDK now bundles a varient of the Xerces parser. Let us know if you have add'l questions. - Ron ----- Original Message ---- From: Yang ZHONG <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, January 5, 2007 1:38:11 PM Subject: Re: Build problem (Tuscany M2 SDO) (Linux) Linux has different vendors, each has different versions. JDK has different vendors, each has different versions configured with different XML parsers by default. Not sure Kelvin and you share the exactly same environment. If a different XML parser worths trying to solve the problem, using IBM JDK may be one of the easy ways. On 1/5/07, Stanislaw T. Findeisen <[EMAIL PROTECTED]> wrote: > > Yang ZHONG wrote: > > Have the build test failures been solved? Many copying/forwarding on the > > thread... > > Unfortunetely not. > > > If not, the following looks familiar to me: > > java.lang.NullPointerException > > at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS( > > ElementNode2.java:432) > > at org.apache.crimson.tree.ElementNode2.hasAttributeNS( > > ElementNode2.java:388) > > > > It might be caused by a parser problem, a newer version or IBM parser > might > > solve the problem. > > Oh really? > > Why does it work for Kelvin, though? He says: "I have verified that the > M2 tag of SDO builds on linux.". > > And if so -- what should I do? Perhaps the release needs to be fixed, > hm? That's because I don't have any crimsons here, so that must be > something being downloaded by maven. > > Kelvin, how did you perform that Linux build? Was that an "isolated" > environment, with an empty CLASSPATH etc.? > > And what about that wstx-asl-3.0.1.pom? Is it unsignificant? What is it > for? > > -- > Leave this world better than it was when you were born. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Yang ZHONG --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
