Put xerces in endorsed dir of JDK 1.4.2_05. It worked for me.
Roslan

Quoting BRIAN MORAS <[EMAIL PROTECTED]>:

> Hi 
>  
> I have got the axis happiness page up with all required and optional jar
> files. 
>  
> Please let me know how to override crimson to use xerces.
>  
>  
> When I try using one of the examples  from the userguide folder in
> WEB-INF\axis( a simple one the CalcClient )
> I get the following error :
>  
> Exception in thread "main" AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode:
>  faultString: org.xml.sax.SAXParseException: Document root element is
> missing.
>  faultActor:
>  faultNode:
>  faultDetail:
>         {http://xml.apache.org/axis/}stackTrace:
> org.xml.sax.SAXParseException:
> Document root element is missing.
>         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
>         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
>         at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)
>         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
>         at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
>         at
> org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
> tionContextImpl.java:242)
>         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
>         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
>         at org.apache.axis.client.Call.invoke(Call.java:2553)
>         at org.apache.axis.client.Call.invoke(Call.java:2248)
>         at org.apache.axis.client.Call.invoke(Call.java:2171)
>         at org.apache.axis.client.Call.invoke(Call.java:1691)
>         at CalcClient.main(CalcClient.java:98)
> 
> org.xml.sax.SAXParseException: Document root element is missing.
>         at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
>         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:543)
>         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
>         at org.apache.axis.client.Call.invoke(Call.java:2553)
>         at org.apache.axis.client.Call.invoke(Call.java:2248)
>         at org.apache.axis.client.Call.invoke(Call.java:2171)
>         at org.apache.axis.client.Call.invoke(Call.java:1691)
>         at CalcClient.main(CalcClient.java:98)
> Caused by: org.xml.sax.SAXParseException: Document root element is missing.
>         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
>         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
>         at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)
>         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
>         at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
>         at
> org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
> tionContextImpl.java:242)
>         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
>         ... 7 more
> 
>  
> I have been trying in vain to use xerces instead of crimson that comes
> bundled in jdk1.4.2_04.
>  
> I have downloaded xerces 2_5_0 and copied the jars to commom/lib of tomcat
>  
> I have read the article about xmlParsers it tells about choosing xerces
> ...but How do I do that?
> please let me know if anyone has done this.
>  
>  
> any help would be appreciated.
>  
> Thanks in advance
>  
> Brian.
>  
>  
>  
> 
>               
> ---------------------------------
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!




-----------------------------------------------------
This mail sent through IMP: http://webmail.xybase.com

Reply via email to